“If he is not molesting minors and he’s making an attempt to stay in the closet then I don’t have a problem with him.”
The problem is common sense and the same reason why homosexuals are a danger to unit cohesion in the military and not compatible with service in the CIA and other quasi-military agencies. If a person is keeping a secret lifestyle then they are open to blackmail and even worse. In short, they can’t be trusted. They are willing to do dishonest things in order to keep their perverted lifestyle secret.
We complain about gays flaunting their homosexuality then we complain that they have a secret lifestyle. If a guy/gal is gay but every other thing in their life is conservative what are they to do. Do we just tell them sorry go be a democrat. I admit it would be better if they were up front but it is a difficult thing to do.