At preschool age many children start to fear the dark, monsters or noises at night. Their imagination is now strong enough to scare them, while their knowledge of the world hasn't caught up yet.
“There's nothing to be afraid of” rarely helps, because to your child the fear is real. Taking it seriously and checking together works better: you look under the bed with a torch, and the dark turns into an adventure.