From what I’ve observed it’s directly tied to wishful thinking.
This does a lot to explain today’s “liberalism” generally.