Beverages containing caffeine, such as coffee, can cause insomnia.