Context: Riley was delivering two identical pizzas to a customer. While driving to the customer's house, Riley put one of the pizza boxes on top of the other one. This table shows how the temperature of each pizza changed over 15minutes.
During this time, thermal energy was transferred from () to ().
A. each pizza . . . the surroundings
B. the surroundings . . . each pizza
Answer with the option's letter from the given choices directly.

A