Spacing out after staying up late? Here’s why