Sodomy is tolerated in many of these countries so long as one is giving and not receiving.Unless it's to stick explosives up one's anus.
To say nothing of pederasty, especially in Afghanistan with the sordid tradition of the "bacha bazi"--boys made to dress up as women for the entertainment of older men. Omar Mateen, being of Afghan descent, was no doubt aware of this practice.
And the big payoff for the successful jihadi martyr isn't just 72 virgins--it's also 28 pre-pubescent boys.
Maybe Mateen was a bacha bazi