In Christian theology, we are told that we are made "in God's image and likeness." Taking a broader view across all religions, it is more accurate to say that humans make gods & goddesses in our image and likeness – even where they are visualized in non-human form, their reported behaviour is frequently anthropomorphic.
This is especially obvious outside of the monotheistic religions. In these, the necessity for imagining gods & goddesses in relationships and interactions with other gods produces tales of jealousy, rivalry, and amorous adventures that look remarkably human. Reflecting what each culture sees in itself, the deities also reflect a range of interests, temperaments – and sexual preferences. Many pantheons, especially those from Classical Greece and Rome, China, India, South America and Oceania, feature prominent gods and goddesses who had homosexual relationships or adventures. (Hindu deities are especially notable for the ease with which many of them change gender from time to time).
This much I knew. But the biggest surprise for me yesterday, when I was reading some more about LGBT themes in mythology, was the discovery that in some mythologies, there are gods who are specifically designated not just as practitioners, but even as patrons of male homosexuality.