Here are three examples of gothic elements that Poe uses to create that effect and these are, "one hears creaking and moaning sounds and sees the living corpse of the Lady Madeline", "the ancient decaying castle is eerie and moldy" and "the surrounding moat seems stagnant and there are mysterious rooms where windows suddenly whisk open, blowing out candles". Hope this answer helps.
Shoutout to @Metchelle
Have an amazing day!