Energy conservation in Hubble Expansion [duplicate]

So space expands due to Hubble Flow. Some light is observed, which is seen to be red-shifted due to the space expansion. It is less energetic. Where did the energy go?