What is cognitive dissonance?

sense of discomfort or distress that occurs when a person's behavior does not correspond to that person's attitudes