Well, because the energy left the system and it dispersed throughout the surroundings, that means the entropy of the surroundings increased in this particular case, and in this case, we can define what the entropy is in terms of the amount of energy that's left the system and the temperature of that particular system.