Late-night eating large meals with a high fat content might cause indigestion, which can disrupt your sleep. Because you wake up more frequently and recall them, disturbed sleep generally leads to more nightmares, or at least the memory of more nightmares.