There is probably more to be said, but you may find what you're looking for in my answer to How did the Victorian period become so ubiquitous with horror/haunted houses?