Technically, most countries don’t allow people to be openly gay. In some countries, being gay even privately means you get beaten to death or your head chopped off.
Needless to say that transgender people are not even taken into consideration.
If I was gay or transgender, god knows I would rather be in the USA or maybe north Europe than any other country and especially not Africa, Arabia, South America.