Why are we generating wrong ideas in the first place?
I suspect we adopt irrational positions when we have an implicit choice available and our frame of mind, owing to biological factors such as stress hormone levels, favors rapid choices over thoughtful reflection on the circumstances we face. Dual process theory provides a decent framework for thinking about this. 

There is a remarkable body of literature examining paranoid ideation and social anxiety produced by D. Freeman which examines something along these lines experimentally. Attributional styles seem to be learned, then reinforced by exposure to stressful situations. Sort of a "feedback loop" of distorted cognition.