Why food must be cold first before reffregerator?

Food must be room temperature before you put it in the refrigerator otherwise it will heat up the other items in the fridge increasing bacteria which could cause food poisoning