Why do many children don’t like staying in the dark?

Fear!

They believe something is lurking in the darkness.Therefore,they are scared.

When there is light,fear vanishes faster than the speed of light.

Once there is illumination,there is nothing left to fear.