Some foods are a bad idea to eat before bed — and not because of the calories. Certain foods can cause sleepless nights and digestive issues. Even healthy foods like tomatoes and watermelons should be avoided before sleeping.