A philosopher explains why humans secretly like believing the end of the world is near