 Because once people get into too much problem solving, that becomes arousing. Another thing to consider when preparing for sleep is the light in your environment. Dimming lamps and overhead lighting won't just set the mood, it also plays a biological role. The brain releases melatonin, but only under conditions of dim lights.