In general relativity there is (in general) only local conservation of energy, i.e. theglobal conservation of energy is conserved onlydoes not exist the way it does in small neigbourhoods, where the curvaturerest of spacetimethe physics. That is neglectable and spacetime candue to the difficulties in defining gravitational energy, which cannot really be considered that of special theory of relativitydone "correctly". But when
However you consider larger areascan define gravitational energy "uncorrectly" (f.e. using Landau-Lifshitz pseudotensor), in which case the conservation of energy is not conservedwill seemingly hold and light will loose its energy to gravitational part of the overall energy.