Tripping in your dream and waking up with a twitch happens because your brain thinks you’re dying.