Further, the phone is very stimulating, both cognitively and visually. Many apps are meant to engage your mind, and they’re quite good at it. An alert mind, though, is not a mind that’s ready to rest. On top of all this, your brain doesn’t really distinguish between posting on Facebook and working in the office. If you’re prone to using social media or answering texts and emails while you’re in bed, you’re telling your brain that the bed is a place for work, not rest.