Apart from Christianity, I think homopbia is instilled early on in adolescents through peer pressure to be "masculine". If you do something antithetical to the "macho, male model"-for example, say writing poetry, or taking ballet lessons, you're labeled "queer," or "fag". And to fit in and feel better about your own sexuality, you might start accepting common attitudes towards homosexuality.