During the 10 minutes of power loss, thermal energy was transferred from each refrigerator to the surroundings. This is evident from the increase in temperature for both refrigerators.
The refrigerator with the door closed maintained a lower temperature than the one with the door open, but both experienced an increase in temperature due to heat transfer from the inside of the refrigerators to their surroundings.
So the correct answer is:
B. each refrigerator... the surroundings.