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
Answer with the option's letter from the given choices directly.

A