Volcanic plug
The plug is usually harder than the surrounding rock. Glacial erosion can lead to exposure of the plug on one side, while a long slope of material remains on the lee side. Such landforms are called crag and tail. If a plug is preserved, erosion may remove the surrounding rock while the erosion-resistant plug remains. This is what produces the distinctive upstanding landform.