Haunting is a variation on the hidden object Words Mode in which your every click is infused with ghostly energy. It looks spooky, but it doesn't affect your results!
You can haunt a place only when the story directs you to. It usually happens when Tessa is overwhelmed or if she decides to do it for a specific reason.