What did I do wrong?

Last night my friend from class invited me to go out to a bar downtown. If you’ve ever been downtown anywhere there’s usually a mix of bars, clubs, and lounges. I invited my boyfriend but he declined. I usually plan stuff with my friends but always end up in the house with my man. This time I actually went and he didn’t ask any questions until I was walking out of the door( I don’t think he thought I would reallly go)

Anyways we ended up at a gay bar/club downtown. ( if you know most gay bars are filled with gay men ) he was upset about me being at a Gay club saying “ oh so you’re gay now” ( he knows I’ve dealt with women before ) and upset that I went to a “club” instead of “bar.” My friend said bar when she invited me so that’s what I assumed.

There wasn’t a huge dance floor or dj booth so it wasn’t really a club. It was kinda a 2 in 1. I even text him while I was out checking in with him. Sent him pictures of the club and called him(but he wouldn’t pick up)This is my first real relationship and my first time going out with friends in our 5 months of dating. Could I have done something different?