His interpretation of this result was that the star was moving toward and then away from the Earth , and that the accompanying spectral shifts were the result of the Doppler effect .
His idea was that the star was moving toward and then away from the Earth , and that the color changes were the because of that movement .