The red shifted visible light could be due to the old light reaching us from the galaxies (as it takes very long for light to reach from these galaxies) with a low frequency red shift as frequency of the light depends on mass and galaxies in the early time had little mass. ). The more further away one takes a measurement for the galaxy, the less mass it would have and the more red shift it seems. Those nearby galaxies have less redshift as the visible light takes less time to reach us and those galaxies have a higher mass and so less redshift and higher frequncies. Furthermore, the quasars have so much mass and light is tab very high frequencies and the light is less red shift and appears nearer even if it's about the same distance away.
Read more: https://samsungus.org/qa/tab/space-is-not-expanding.html