It's because back then people didn't really give attention that food could go rotten or spoiled, so they just decided to be careless and sell old or spoiled products out to the public, and after that people got diseases or sometimes even death. The people had much more awareness after this and dropped food prices if it is spoiled or unsanitary to eat.