As doc-bean was into, almost everything about the variation of the red-shift has to do with the objects own speed compared to earth, known as the Doppler-effect.
The whole speed theory (as they refer it to) was because they found that every spectrum was red-shifted a bit compared from what other calculations showed. Even those stars moving toward us wasn't as blueshifted as they were supposed to be.