Which psychological theory best explains the phenomenon of a child fearing darkness after hearing ghost stories?