Homosexuality doesn’t equal anal sex. Plenty of homosexuals don’t engage in anal sex at all (plus an entire sub-set
can’t without mechanical assistance
) and plenty of heterosexuals do. There is actually very little sexual activity homosexuals can engage in that heterosexuals can’t and don’t.
The biggest risk by far comes from sex with multiple unknown partners and not taking appropriate precautions. A gay man in a steady monogamous relationship will be infinity safer than a straight man sleeping around with lots of strangers. That’s why the demonization of homosexuals and the discouragement (indeed, outright restrictions) on their establishing settled long-term relationships has been so counterproductive.