Why do milk spoil faster in heat than in cold?

Milk is a dairy product! all dairy products are suppose to be cold in the fridge.