Men can over simplify things sometimes for their benefit. It's called having your cake and eating it too.
In their minds there are only 2 elements when having contact with women that are not their partner.
- HAVING SEX AND PHYSICALLY TOUCHING - NOT OK
- EVERYTHING ELSE - INCLUDING THE STUFF THAT LEADS TO 1. - ALL OK
The defence for 2 will include: she's not my type, she's married, she's my friend, we just banter or vibe, you are jealous, I am allowed friends, I was drunk, she's too young/old, It was just a bit of meaningless flirting, you can have male friends and I would not care (it often doesn't work like this the other way around), you don't trust me, you are the problem here...
Your response should include: I don't find this acceptable, this is a boundary I am not prepared to allow you to cross, You are disrespecting me, I have choices too, I will not accept this, This is not healthy for our relationship...
This behaviour would be an absolute NO for me and I speak as someone that put up with it in the past and regretted it.
Get strong OP and get this sorted.