IIRC, this was one of the explanations proposed when the existence of a red shift was first noted: that the light is somehow slowly losing its energy over very long distances, becoming “redder” as it did so. It ultimately lost out to the dark energy / space-time expansion theory, although I do not recall why. Presumably there was some observation that precluded “degrading” light from being the sole explanation.