I am not believing on what others said but I thin this could also be a reason why its prohibited.
Nope. The reason why Islam is harsh on homosexuality is because Islam wanted to create a cult which had the largest number possible of male babies, because that would give them the largest armies. Eliminating types of sex that do not produce babies is one obvious way to get to that point, but other means are detailed in your "Holy Books."
Rape, taking of slave women, multiple wives by the rich old men. With all the local women taken by the old rich men force the young men to go to other countries and take women.
It is what it is.
+1
It is self-evident that the Quran was written by military men. Spreading Islam beyond its borders, rules about capturing slaves, strict Sharia Law, no drinking, no music, severe punishment for disobedience, the death penalty for apostasy (treason), etc.
That also explains misogyny as male babies where automatically higher on the pecking order based on their utility value.
You needed men to get/capture/enslave women, to make more men, to get more women. All to make Allah happy, of course.