It reminds me of a republican senator who was very against gay marriage 13 years ago or so, who was caught soliciting sex from men in a bathroom.
They see their own vice out in the world and they feel the need to cover it up because they feel exposed. They're covering up their shame.