And did they spread this hate?
There is no first record, it's sadly eternal. Heck, homophobia exists in dolphins.
If you define homophobia as targeting other individuals for their homosexuality, it's quite documented in dolphins. They will gang assault (the bad kind of gang assault) other dolphins they see as fair game, often based on what their relationship status is.
Dolphins have definitely been observed demonstrating a mindset of "I don't care about your interests, you were born to serve my own."
Human civilization is a lot longer than history and a lot more complex than specific normative behaviors blipping into existence at some defined point in time. Check out The Dawn of Everything for a recent anthropological perspective.
Various cultures approach gender and sex (and thus sexuality) differently. Homophobia as we understand it can't exist universally because sexuality as a static individual trait isn't a universal conception. Though that doesn't mean there aren't other norms and deviations and whatnot.
Caliban and the Witch is adjacent to this topic and discusses how sex and gender norms developed out of middle age Europe.
Do you mean from a historical standpoint? It depends on the culture, but it's pretty recent in its current iteration — in the west, it followed the rise of Christianity. For much of western history at least, it was considered OK to pitch, within reason (manly!) but not to catch (effeminate!). Warring states China was pretty similar. I'm less familiar with India but in any case that would have been suppressed by the Mughals.
Thanks I thinking if Christianity was the main reason Homophobia or was there many smaller sources
It was in Zoroastrian tradition around the time Persia was conquering Greece. Definitely not a "Christian thing".