Two identical cubes, A at 50 °C and B at 10 °C, are stacked in direct contact inside an insulated box. Qualitatively describe how the temperature of each cube changes over time until equilibrium is reached, and state the final thermal condition of the system.