It's an unfortunate quirk of human brains that fear of the dark is a familiar experience to most children and many adults. I suppose it has something to do with nocturnal tigers hunting our ancestors. Association between nighttime and fear seems biologically unavoidable.