Cognitive biases are predictable patterns in the way people think that can keep you from objectively weighing evidence and changing your mind
With mental illnesses for which a symptom is intrusive thoughts, the brain slowly carves more and more valleys making it easier for those thoughts to reappear. This is not only present in mental illness, though. Opinions may cause these valleys making it harder and harder to change.