The Pole star lies above the axis of rotation of the Earth while the constellations don’t. So when the Earth rotates, the constellations appear to revolve around the pole star (which appears stationary).