The correct answer is cognitive dissonance.
Cognitive dissonance (CD) refers to a theory developed by the psychologist Leon Festinger (1957). According to this theory, CD is the phenomenon where a person's attitudes and behavior are in conflict, or contradict each other. As a result of this conflict between attitudes and behavior, a person experiences unease and discomfort, which in turn makes the person alter either their attitudes or behavior.