You make a good point about cognitive dissonance—you advance our discussion in the right direction.
I would say the problem with cognitive dissonance is it’s more of a comfort stabilizer than a truth detector.
Careful study of a new anomaly and how it might affect previous understandings is one of the purposes of science, and I suspect a high-point in many scientific careers.