Cockroaches everywhere during the day

I’ll see this once in a while, especially on an alley I regularly walk down. I’ve always assumed it’s because there’s been some kind of spraying, and the roaches are coming above ground to die.