Here's the breakdown:
* Lunar "Seas" are actually vast plains of dark, solidified lava. They were formed by massive volcanic eruptions early in the Moon's history.
* The Moon's mountains are mostly formed by asteroid and meteorite impacts. These impacts created craters, some of which are enormous. The rims of these craters often form mountains.
* Some lunar mountains also formed from tectonic activity. The Moon's crust has been moving and shifting over time, creating mountain ranges similar to those found on Earth.
So, while "seas" are a key feature of the Moon's surface, they didn't form the mountains. The mountains were created by impacts and tectonic activity.