I don’t pretend to know all the answers either. Whether this phenomenon is psychological, sociological or whatever. But I agree with you 100% that it’s homophobic.
If you are interested, I wrote a kind of funny story a while ago talking about the first time I ran into this sort of thinking. Though in a different way.