US intelligence agencies really only care about your third point directly, everything else they care about only insofar as it can blackmail you or make you beholden to criminal interests.
They don't care if you're gay, but they care if you're closeted. They don't care if you do drugs, but they do care if it's such a problem you could become financially beholden to someone over it.
More accurately, they don’t necessarily care if you did drugs in the past. Current drug use, or very recent drug use is a risk, as addiction is a huge risk for both judgement and susceptibility to blackmail, and even controlled drug use is illegal. Also, being a previous drug addict extremely risky drug use can speak to your current judgement.
They don't care if you're gay, but they care if you're closeted. They don't care if you do drugs, but they do care if it's such a problem you could become financially beholden to someone over it.