The moon and the stars cannot actually tell us whether the earth is moving or not. They appear to move across the sky over the course of a night and over the course of a year. However, this movement is actually due to the rotation of the earth on its axis and its orbit around the sun, respectively.