The motion of planets is separate to the motion of stars. Like everything in the sky, they rise in the east, and set in the west, because of the earth's rotation. But night by night, their position at a given time changes because of their orbit around the sun.