When we are sitting a car that is moving at speed, object that are close to road pass behind us very quickly, but object that are a few hundred meters away stay in view for a little longer. Objects that are father away, such as a television mast or a clump of trees at the top of hill take even long to go past.
This is because the closer we are to an object, the more quickly the angle we’re seeing it at changes as we move along.
The moon, of course, is much farther away-about 384,550 kilometres (239,000 miles), so the angle between it and us changes much more slowly as we drive along. The reason that it appears to follow us is a trick of the eye and mind: because everything else goes past but the moon does not, our brains interpret this to mean that it is moving with us.