They don't - why do you think they do?
...rotation.
since earth rotates, the constellations will seem to move across the sky.
They seem to move to the West, like the Sun does.
Because the stars do not move, but on the other hand, the Earth does. Therefore, sometimes you will not see the same constellations in the same place every night.
Earth orbiting the sun
No - as Earth rotates the stars and constellations seem to move. Also, as Earth orbits the sun over the course of a year, the stars we see at night in the winter are different than the stars we see at night in the summer. Same with Spring and Fall.
That's the Earth's rotation.
The sun doesn't actually move the earth moves so does the constellations and the stars. We see them move because the solar system spins on an axis just like earth but the earth moves much faster. So we see things move but at a very slow pace all day. The constellations and stars in the sky seem to move because just like all planets they move with the solar system.
The constellations are simply stars out in space - as Earth rotates, everything appears to move across the sky. Earth also moves around the Sun throughout the year, so the stars that are behind the sun in the summer, are the ones we see at night in winter.
Constellations are human interpretation to how stars seem to make shapes and patterns. Most constellations need a lot of imagination to be seen and different cultures have interpreted them differently. The constellations are also not really there in the sense that what we see as flat images in the sky are actually three dimensional with stars hundreds of light years apart.
There are two reasons. First, the Earth is rotating, so over the course of a night they seem to move across the sky. Second, the Earth is orbiting the sun, so we are looking at different parts of the sky throughout the year. However, at the same time on the same date of the year, you will see the constellations in the same places. So you can tell the time of year and even the time of night by looking at them.
Constellations