The cognitive dissonance theory suggests that individuals experience discomfort when their attitudes and behaviours do not align. To reduce this discomfort, they may justify their behaviour and change their attitudes accordingly, especially when there is external pressure to do so.