Actually I think you have this backwards.
Most people who hate gays hate them because they dont fit into gender role expectations. They think that a guy who likes other guys must be like a girl etc.
That means all homophobia is a form of transphobia and that rather than hating us cause they think we are gay, instead they hate gays cause they think they are like us!!!!