Context: Two friends bought phones that cost different amounts but had identical batteries. After using the phones for a while, both friends had to turn them off to let the batteries cool. This table shows how the temperature of each battery changed over 5minutes.
During this time, thermal energy was transferred from () to ().
A. each battery . . . the surroundings
B. the surroundings . . . each battery
Select the correct answer from the provided options and reply with the letter associated with it.

A