There are many factors that can cause bad dreams, including trauma, depression, sleep deprivation
, stress and anxiety, drugs and alcohol, scary movies, unpleasant sleeping environment, and even junk food before sleep.