Introduction:
Although human homosexuality is heavily frowned upon (to put it mildly) in Islam and most other religions, observed animal behaviour (see references in the Quotes & links section below) clearly shows that Mother Nature is much more open-minded about it than most humans could have ever imagined.
Has science yet again discovered something that tends to go against any religious comprehension? It seems so. But if we concentrate ourselves on Islam, there appears to be a noticeable contradiction in the Quran.
Quran on animal behaviour:
(animals 'subjection' to Allah's will)
Interpretation & implications of these Quran verses:
In these verses the Quran states that all animals act according to Allah's will, all animals praise Him in the just way, all animals 'know' what to do to please Allah.
Quran 17:44 (and to a lesser extend also 22:18) thus implies that humans should look at animals (and all other non-human creations of Allah) to get an indication of the appropriate way to live and please Allah. (Quran 17:44: ... And yet ye understand not how they declare His glory! )
BUT: when observing the animal world carefully we notice that same-gender sex (homosexuality) is not at all uncomon (see quotes & links below). Since the Quran states that all animals act according to Allah's will, we can deduct that Allah approves of this homosexual behaviour in the animal world.
And following Quran 17:44 and 22:18 we will be led to the conclusion that, in general, human homosexual tendencies can't be condemned.
In my humble opinion this signals a stark contradiction with those Quranic verses & interpretations that DO condemn human homosexual behaviour.
Conclusion:
Of course this can be explained when we realize that the Quran is not the word of a deity. The Arabs of those days apparently couldn't come close to imagine that animals also display homosexual behaviour. If the Quran really contained the words of an All-knowing Allah, this contradiction wouldn't have arisen.
The author of the following quote might offer an explanation for the homo-phobia of many religions: