When a fridge turns off after running for some minutes, it could be due to several reasons, but the most common ones are:
Cooling cycle completed: Modern refrigerators work on a cyclical basis. They have a thermostat that monitors the temperature inside the fridge and freezer compartments. When the desired temperature is reached, the compressor (the main component responsible for cooling) shuts off, and the fridge enters a period of rest until the temperature starts to rise again.
Energy-saving mode: Some fridges have an energy-saving feature that automatically turns off the compressor for short periods to conserve electricity. This is typically done when the fridge has maintained the desired temperature and doesn't require continuous cooling.
Defrost cycle: Frost-free refrigerators have a defrost cycle that activates periodically to prevent the buildup of ice inside the freezer compartment. During the defrost cycle, the compressor may turn off while the defrost heater melts the ice, and the water drains away.
Malfunction or issue: In some cases, the fridge might turn off unexpectedly due to a malfunction or an issue with its components. This could include problems with the thermostat, compressor, condenser, or other electrical components.
If the fridge turns off and stays off without resuming its normal cooling cycle, it could be a sign of a more significant problem that may require professional inspection and repair.
Remember that the specifics of fridge behavior can vary depending on the make and model. If you notice unusual or persistent issues with your refrigerator, it's best to consult the manufacturer's manual or contact a qualified appliance repair technician to diagnose and fix the problem.