The moon has more craters compared to Earth because the moon has no atmosphere ti protect itself from impacting things. It also has very geologic activity such as things like volcanoes or weathering from wind or rain so craters remain together for billions of years