Can't remember where i've read that nor even if it's a real thing or not so do take the following with caution.
I think Roman Empire garum (fish sauce) factories where one of, if not the first thing in known history to trigger lawmakers to set a minimum distance from factories to residential areas (something like 1 mile iirc).