This peculiar rock formation is created in sandstone (from the flysch formation). The (younger) volcanic rocks pushed up and heated up these rocks so they became tilted, folded and slightly metamorphic.