It is an HM which might make the foe confused. The user forces an earthquake which causes the rocks to come upward. Then user climbs up those rocks, attacking the opponent. It is needed to scale very rocky cliffs in-game, and, like most HMs, is needed to progress through the story.