<human>: Just background, I suffer from anxiety and depression
I have been best friends with him since sophomore year, we are juniors now. 

He just got a girlfriend, and it bothered me as suddenly i was less important to him. 

I tried to be supportive as i just want him to be happy, but it got annoying, and being stressed and just in a bad mood, i was not the nicest to him.

Now these comments were not vicious or very bad at all, but he took them the wrong way, and now we are at tensions with each other.

I apologized and he accepted it but won't even speak of his girlfriend and is less talkative to me. 

I feel very bad but am also mad as at myself because I was going through a troubling time when i made the comments and i dont feel as if i have anybody to talk to now.

Please give me some advice.

Can you summarize the given text in a few sentences?
<bot>: My friend and I are at tensions currently because of some negative comments I made to him while i was in a bad state because of my anxiety/depression(associated with school) and im not sure what to do.