@Rox111,
Agree with hightor; however, it's a weird phrasing that one wouldn't normally use with a friend.
You said: "I'm sorry if I was not able to respond to your messages. I wasn't trying to limit our interaction/s. I just didn't have the energy to respond as I was very sick."
There is no need for the word 'if' in sentence one as it is obvious it wasn't 'iffy' - you did NOT respond, no ifs ands or buts about it.
I would delete the second sentence and just move on to the third. The whole thing could be said much more informally (to a friend) as such:
"So sorry I haven't responded but I've been so sick (under the weather, etc)."