Seriously the psychology behind that is so human, doing a thing you think is bad, being ashamed, then calling it out in others. Like the stories of gay senators being the most hardline anti-gay people, or coloreds being the most viciously racist ethnic group in South Africa (being a bit black themselves).