In case of refrigerating peeled onions, the moisture and cold temperature inside the fridge can make them lose their crunch and turn soggy, which makes way for pathogens to develop and this reduces the nutrient level and leads to bacterial growth.