A 4-year-old becomes frightened of the dark and refuses to go to sleep at night. How would a psychoanalyst and a behaviorist differ in their views of how this problem developed