Well,...they would have killed him whether or not he was gay. They did the same thing to Daffy and no one is claiming he’s gay.
These people are just savages.
There are plenty of gay Arabs and plenty of gay Arab leaders - Arafat for one, but the rumors are always thick about lots of others. And lets not get started with the religious leaders.
The whole problem here was overconfidence and negligence, plus our institutional incompatibilities with whats needed to get the job done in these other cultures.
T.E. Lawrence, for one, had the knowledge and foresight and leeway to create his own personally loyal Bedouin security detail, which he selected and recruited himself using his knowledge of clan loyalties. This sort of thing squares the circle of scary foreigners (Marines, Blackwater) providing security but annoying the locals vs unreliable and compromised local officials. That sort of thing has been bureaucratized out of the options available to our modern Lawrences.