It's usually the same cultures, too. Iran has the death penalty for homosexuality, but they can get out of it if they have trans surgery and pretend to be straight women and men instead of gay men and lesbians. And there's a lot of articles from fundie Christian parents in the US who say things like "I was so worried my son was gay, but it's okay, she's actually a straight girl in a boy's body!" Societies that believe people change their gender need to have strict gender roles in the first place, otherwise there's nothing for them to transition between. The only reason all these cultures have these "third genders" is because they won't accept gay men as "real men", or infertile women as "real women". You don't see this stuff in cultures where men and women have similar social roles.
This article (and the whole blog, really) has some pretty good analysis of it with more historical examples: https://culturallyboundgender.wordp...ip-between-third-gender-roles-and-patriarchy/
Yeah, there's that, tend not to tie them to claiming trans folk though personally, if only because they're somewhat being forced into the position., because if you're told wear this wig, or jump off the roof, chances are you're going to wear the wig. There's that Pat Robertson who does the same thing, folk would call in and he would basically tell them what the Muslims get told, it's bad to be teh gay, but put some lip gloss on with a skirt, and you're Suzy now! Who knew if you try basing you world structure from a book of sheep lovers, you end up with nonsense like that. Those poor buggers are mentally and physically repressed gays and lesbians, the brand we're dealing with now are just crazy fetish lovers.