Dynamics of energy fluctuations in equilibrating and driven-dissipative systems