Does he have a right to be mad at me?!

Ariana
My boyfriend of 8 years and I have these two friends that are women. At one point it was too much for me and it felt like we were all in a relationship. They were always around. Always calling. Always everywhere. So once I started a new job, I kinda backed off a little and focused on my career. One of the girls he always has to make a stupid comment like he's flirting. When she sits next to him he says "yeah! That's what I'm talking about" or "boobs" it's disrespectful no matter how much they are friends. So I told him to please stop because it makes me uncomfortable. Instead he got mad at me. Fast forward to when he's been having trouble breathing and the girl gave him her inhaler which was nice. One day he comes home with this liquid medicine to take for his breathing. I asked where he got it from and he said he got it from his coworker, some guy that swears by it. Last night again these girls were texting him to come to a Fourth of July party which I had no idea about so why would I want to go? He told me to text them back using his phone and I said, why did you meet up with her?? (Text message said "meet me at Starbucks" and "I'm here, where are you") and without remembering his lie he said "oh she gave me a liquid medicine to help me breathe" and I said the one that you said your coworker bought you? He looked very confused and I said why would you lie to me? He said because I would get mad cus I met with her. I told him that I'm mad that he lied to me. I went on and said how easy it was for him to lie to me and he lied straight to my face and what else is he lying about. He got upset and said he doesn't care anymore and now he's in a pissy mood. Wtf?! What should I do? Am I in the wrong here?
:(