There’s a few spiders that do this (I know some orb-weavers do) and IIRC scientists don’t know for sure why, though it’s been hypothesized that it could be either to confuse potential predators or to make themselves and their webs obvious to larger animals.
Some orb weavers like Argiopes even make a thick zigzag construction in their web called a stabilimentum that we don’t really understand the function of, but one theory is to make the web more visually obvious so larger animals don’t accidentally barrel into them.
Spiders are neat.
Man what a blast from the past. I haven’t seen these in idk how long but my mom had these when I was growing up. I don’t even remember the stories, but those illustrations were awesome and are among some of my earliest memories of being unnerved by an art style (along with the legendary Scary Stories and the Wizard of Oz series from 1900 with the W.W. Denslow illustrations)