When the balls are warmed, their centre of masses are moving as radii of balls are increasing. The centre of mass of ball A will come down and that of ball B will go up. In case of ball A, the gravitational potential energy decreases.This corresponds to additional heating of ball. TA > TB