Plastic containers can create the perfect environment for bacteria by trapping heat and moisture. Certain foods react with plastic in ways that can speed up spoilage or even release harmful chemicals.