There are two popular explanations for the formation of craters:
First, shortly after the formation of the moon, the hot lava and gas inside the moon broke through the surface layer and sprayed out, just like the volcanic eruption on the earth. At first, they were very powerful. Lava spewed out very high and far, and piled up outside the spout, forming a crater. Later, the jet power decreased, and the jet only accumulated at the bottom of the center, forming a small peak, which is the central peak in the crater. Some spray out earlier, or there is no central peak without re-spraying.
Second, meteoroids hit the moon. 1May, 972 13, a large meteorite fell into a crater the size of a football field on the moon. The lunar earthquake caused by the impact was recorded by four lunar seismographs placed on the surface of the moon. Those who advocate meteorite impact believe that about 3 billion years ago, there were many meteorites in space and the moon was in a semi-molten state. When the huge meteorite hit the moon, it splashed the surrounding rocks and soil, forming a ring of craters. Because there is no wind and rain erosion and strong geological tectonic activity on the surface of the moon, the crater formed at the beginning has been preserved to this day.