The Haunting of Alma Fielding: A True Ghost Story, by Kate Summerscale
The verb "to haunt" can mean "to practice habitually, busy oneself with, take part in" and "to frequent a place," but it isn't entirely clear when it began to apply to supernatural phenomena like spirits or ghosts.
Etymology Online has it that this use "perhaps was in Proto-Germanic, but if so it was lost or buried" and that it was "revived by Shakespeare's plays," appearing first in
A Midsummer Night's Dream. Merriam-Webster adds that "In the 1500s,
haunt began to mean 'to have a disquieting or harmful effect on,' as in 'that problem may come back to haunt you.' The meaning here is simply the lingering presence of the problem, not the possibly scary nature of the problem itself; it is applied to thoughts, memories, and emotions."