People will try to adjust their beliefs to simultaneously maximize the alignment of those beliefs with facts and maximize their emotional comfort. It’s almost like a mathematical equation. The greater the emotional discomfort (cognitive dissonance) a fact presents, the harder we will work to rationalize it away.