It's because otherwise seemingly rational people have been brainwashed by fairytales, aka religion.

Also, most black people I know do not equate racism with the gay rights struggle. In fact many are insulted at the suggestion.