It's an analogy founded directly on history. In the past, it was common to not see a distinction between male homosexuality and pedophilia. I'm absolutely certain some people still see the world that way. In short, it doesn't have to make sense, because it's historical fact.
To see this in film, watch the Sid Davis classic "Boys Beware":
> The film equates homosexuals with child molesters and hebephiles, repeatedly describing homosexuality as a mental illness. True to the stereotypes of its time, the gay men in the film have mustaches, sunglasses and/or bow ties.
I do not get it. Because in antic Rome it was acceptable (or common) for men to have homosexual relations with young boys you are still making the link between these words today?
"heretic" and "science" or "monk" and "psychopathic torturer" are synonyms as well?
To see this in film, watch the Sid Davis classic "Boys Beware":
https://en.wikipedia.org/wiki/Boys_Beware
> The film equates homosexuals with child molesters and hebephiles, repeatedly describing homosexuality as a mental illness. True to the stereotypes of its time, the gay men in the film have mustaches, sunglasses and/or bow ties.
https://archive.org/details/boys_beware - Original
https://archive.org/details/BoysBewarecolorizedVersion - Colorized
https://archive.org/details/BoysAware - Remake