Spiders get most of the information about their surroundings through vibrations.
Your snoring, breathing, and heartbeat makes vibration in the environment.
Spiders become aware of you by your snoring, breathing, and heartbeat and run away.