Her attitude change is best explained by "cognitive dissonance theory".
As indicated by cognitive dissonance theory, there is a propensity for people to look for consistency among their assessments. At the point when there is an irregularity between mentalities or practices, something must change to dispose the dissonance.