When attacked, they form a wall. Their rock-hard faces serve to protect them from the attacks.
The bones of its face are huge and hard, so they were mistaken for its spine until after this Pokémon was successfully restored.