Light leaves a neutron star and under such extreme gravity redshifts in just a few miles. Light travels through a galaxy and with all the gravitational sources about redshifts in thousands of light years. Light travels through the universe where the gravitational sources are even more spread out and redshifts over tens or hundreds of millions of light years.
The further light travels, the more it is redshifted.
The further light travels, the more it is redshifted.