Cause when the milk is inside the cow, all the good bacteria in the milk is alive, but when you take it out of the cow, the good bacteria slowly starts to die and become gross bacteria like mold. If the milk is refrigerated, the food bacteria will stay alive dor longer, keeping the milk fresh for longer