Once you notice the surreal nature of reality, it becomes easy to consider life an illusion. Add to that the fact our inner world representation is basically all we know about the outer world, and the way we processed the past will determine the image we have of the outside.