The way he spoke to you was completely out of order and there are some ref flags there. However, trying to work out what the other side MIGHT be (not to defend him but also not to jump straight to LTB!)
We're you very drunk and behaving in an Ott way. I don't get the impression you were from your posts, bit that's one of the few situations I can imagine saying my husband was embarrassing me (or if he was rude to someone I was with).
Do you mean you actually stayed sitting / standing with them for an hour, or were just in the same bar for an hour. I do think if you are on separate night outs you shouldn't really assume you can gatecrash for an hour. It would be weird not to say hello and have a quick chat though!
Did he think it wasn't a coincidence and you were checking up on him / trying to get invited on his work night out, when it wasn't. Partner thing, which could be seen as embarrassing or controlling.
I'm not saying any of these did happen, or that they would be an excuse to tell you to fuck off, just trying to imagine what could be behind it.
In terms of the not knowing about you, that could suggest he is acting single at work, but equally they may not all be colleagues he works closely with. I can well imagine ending up on a night out with some colleagues who actually I'm not sure on the relationship status of, because we don't have that much to do with each other in work and I'm not one to ask their entire life story straight away, but because of mutual friends or our work or trans overlapping in some way, we could easily end up on the same work night out.
Either way how he behaved is unacceptable, but I wouldn't jump straight to he wants to be single or he's usually embarrassed by you without further exploration.