Mercury was subject to much more meteoritic bombardment than the Moon.
The Moon contains much more iron in its interior than Mercury.
Mercurys crust cooled and shrank, causing its surface crust to form cliffs known as scarps..
Moons and planets are different sorts of objects and thus evolve differently.
Mercury has at least a tenuous atmosphere while the Moon has no atmosphere.