I wonder if it could have been small amounts of debris that built up over time and got stuck in a nook. Small bits can easily get through a spider, or it could even be cold break build-up.
It could have gradually built up and discoloured until it clogged the system, then got ejected out when...