Overheating while you snooze can make it hard to feel well-rested in the morning.