This was in my high school and early college years, later on in life I was able develop romantic relationships with them and healthy platonic relationships. I’ll be upfront and say a lot of the times if a straight dude hates women vehemently, it’s probably because he’s not getting laid or able to form any semblance of a romance with a woman.
I'm really sorry that's happened to you! Sometimes I still struggle with viewing women in my life platonically, even if we've had a healthy friendship for a long time.
It's definitely a byproduct of my own insecurities, but I would rank "being openly gay" as up there with "being in a monogamous relationship" or some other equally clear boundary. I hope you can find some guy friends who can respect those boundaries :(