Minecraft wiki entry for Survival_in_an_infinite_desert, associated text: As the cacti grow higher, they do more damage to spiders that climb over them, making the spiders easier to kill by the time they reach you, and alerting you of their approach by making hurt sounds.