Sometimes people act in a bigoted way as a defense mechanism. It’s really unfortunate and sad. The only thing we can do is work to create a more accepting environment and to condemn bigotry. Confronting a closeted person can force them deeper into the closet, especially if there’s some self loathing here. People can only get better if they want to