Stars appear to move across the sky due to the rotation of the Earth on its axis. The speed at which stars appear to move can vary depending on several factors, such as the observer's latitude, the star's declination (celestial coordinates), and the time of year.
At the Earth's equator, the stars appear to move the fastest, covering a full 360 degrees in approximately 24 hours. This means they move at a rate of 15 degrees per hour or 15 arc minutes per minute.
As you move closer to the poles, the apparent motion of stars decreases. At the celestial North or South Pole, the stars would appear to move in tight circles around the observer, completing one rotation in 24 hours.
In general, stars appear to move at a rate of about 1 degree every 4 minutes, which means they would cross the width of the Moon in about 2 hours.
It's important to note that the apparent motion of stars due to Earth's rotation is independent of their actual distance from us. Stars that are closer to us or farther away will all appear to move at the same rate across the sky within the framework of a single night.