The expanding Universe doesn’t conserve energy: “there’s a physical symmetry that corresponds to the conserved quantity of energy. In this case, it’s time-translation invariance: the notion that physical properties and laws don’t evolve with time.

Link. But if they do …