My armchair theory on masculine gays and fey homosexuals is that their evolutionary "purpose" is to ease tensions on the social dynamics of a group or tribe by reducing the amount of men competing for a woman.
The Masculine contribute to hunting and other male based activities while the weaker stay at home spending time with the women weaving baskets and watching the kids. I remember there is a breed of Bird where some of the males feather patterns mimic a females so they can sneak in while the Alpha isn't looking and impregnate a female and I think to some extent the same thing has happened with humans.
https://www.cbc.ca/radio/asithappen...equence-of-a-bird-with-four-genders-1.3324708
Here's an article on the birds, you can ignore the whole "4 Genders" thing they just classify 3 different types of males.