Red shift occurs when an object moves away from the observer. So as you are on Earth, it is when objects move away from Earth. (Blue shift as it moves closer.) A star's red shift could be due to losing energy to gravity.
The red shift shows the velocity with which an object is moving away from the earth. The red shift of an object is correlated to its distance from the earth and so it is also a measure of the distance.