The stars appear to move from east to west across the night sky because as Earth rotates, the sky is observed as rotating.
We are observing from Earth, so we (Earth) are in motion with respect to star, that's why they seem to be in Motion
Hope this helps!