Astronomers believe some stars are moving away from earth by measuring the extent to which their light is “stretched” into the red part of the color spectrum, representing the lower frequencies on that spectrum.
In short, stars moving away from earth are “red-shift”, while if they were moving towards the earth they would take on a “blue-shift”.