It doesn't seem like it can be nature/biological, so
it seems me like it would have to be cultural/taught.
On the contrary, there is a lot of evidence of homosexual behavior in
the animal kingdom. I personally have seem heifers mount one
another. A pair of male penguins nested in a zoo somewhere. Male
bonobos mount each other, and female bonobos engage in genital play
with each other.