I think this is the mind defending its worldview, in the same way as people react when you question or present evidence that contradicts. And yes, it is a natural defense against changing your mind and can be rationalized as a survival strategy (my worldview has kept me alive and healthy so far, and adjusting it is increasing risk).