How Gothic Architecture Became Spooky

When conceived, the style was meant to be heavenly and transcendent—so how did it become the vision of a haunted house?