Volcanic plug
In the end of a volcanic outbreak lava can remain in the volcano’s vent and when it cools down it forms a plug. If the surrounding rock is softer than the plug it erodes away over time and the volcanic plug is left standing like a pillar