No, your answer is incorrect.
Watch the simulation again! You gave a partially correct answer. Actually this is the consequence of the heat flow from higher energy atoms/molecules to lower energy atoms until the total energy is distributed roughly equally across all atoms/molecules and the system reaches equilibrium.