The main problem with the evolutionary argument is that it runs entirely counter to the observed evolution of the human species. All evolution “cares” about is whether a given behavior leads to the propagation of a creature’s genes. From an evolutionary stand point, there’s no difference between humping another guy, humping your fist, or humping a non-ovulating woman. None of these behaviors are going to lead to offspring. And of the three, homosex is far and away the least common. If there were any evolutionary pressure to select against non-reproductive sex, it would select against the ability to generate sexual pleasure through masturbation, and for women who show external signs of being in estrus. If we have evolved an instinctual aversion to homosexuality due to its non-procreative nature, why have we not evolved a similar aversion to these far more common acts that are also non-procreative in nature?
The second problem with this argument is that human culture does not come in discrete blocks. Cultures are porous. Ideas pass freely between them, and even in ancient times, they could travel across continents in relatively short order. Over half the people on the planet draw their religious beliefs from one bronze-age tribe from the Middle East - one which, for whatever reason, was pretty down on homosexuality. It’s not particularly meaningful to point to all the people in Europe, Asia, North Africa, and the Americas and say, “All of these people are homophobic,” when they’re all reading their homophobic beliefs from the same book. On top of that, you have the Victorians, who were fucking everywhere two centuries ago, imposing their own highly skewed notions of sexuality on their subjects, and frequently suppressing anything that offended their notions of propriety. If you want to draw any meaningful conclusions about what is instinctual, and what is cultural, based simply on observed human behavior, you need to compare groups that have had limited influence on each other. And those have been pretty hard to come by for quite a while now.