It's basic history m8, why do you think they are so extreme in Iran or most of the Middle East?
Following the Second World War, prostitution, homosexuality, trannies - all that shit - was rife. The arrival of Israel and the withdrawal of European powers from the region left a power vaccuum, and since the people generally fucking hated trannies, certain groups with certain ideologies came about and got rid of them, becoming the strongmen dictators which ruled the Middle East for the latter half of the twentieth century.
The big three of the ME, Libya, Syria and Iraq, all came from this, and the first thing any "Revolutionary Government" does is kills criminals and deviants, alongside anybody else they feel like.
Iran too, the country which still openly executes homosexuals, came about when a religious government overthrew the previous ruler - who was seen as "too weak" on matters like these.
This is also important to understand at present, since the USA has withdrawn from Afghan - the people there like the Taliban because they execute paedophiles and drug addicts, whereas the Americans hired them to run the government.
Nigger this is literally just how the CIA does shit in most third world countries, they show up, give the local militias massive amounts of weaponry and tell them to kill off criminals, trannies, paedophiles, sometimes fags depending on the exact climate, ethnic groups loyal to a certain ideology, etc - kill the trannies for legitimacy, kill the Commies for the USA.