People come to the positions they are hold for all kinds of reasons.
What is the substance of racism, or homophobia? We're the blacks in America who believed in racial segregation and went off to set up colonies in Africa racist? Is Ibram X Kendi? When about when a white person holds differernt views? How much understanding and grace do we extend to someone who has grown up in difficult circumstances, a bad family perhaps, or in a war zone, or with some mental illness? How about a Catholic who believes all sexual activity should be governed by the possibility of procreation? Or a gay man who thinks that marriage is fundamentally for managing the imabalance of power between the sexes? What about a straight person who thinks the same thing? What about liberals who seem to think that black conservatives are traitors? ect....
Reducing people to these kinds of labels is so reductive, people are a lot more than that and have different qualities, good and bad, often contradictory ones. And it seems so deeply incurious. It's often possible to understand where they are coming from if you talk to them, or to have a healthy relationship despite real differences of opinion on important topics.
And I'd add, having relationships like this makes it a lot harder to pull the wool over your eyes about your own failings. It tends to drive critical self-reflection.