A nightmare is more often a traumatic experience to the brain. The brain will quicker remember a bad experience than a happy one. So a nightmare where a person who is terrified of snakes is being crawled on by snakes will remember it better than a dream about summer