As intergalactic space expands with the universe, photons take longer to travel between galaxies. The average flight time is in the billions of years as the chance of hitting anything decreases as the universe expands.
This would seem to be a net transfer of energy from matter to intergalactic space as the universe ages.
Could this in someway be linked to dark energy?