The Pokémon Company has shared a special post dedicated to Metapod:
Did you know? The shell covering this Pokémon’s body is as hard as an iron slab. Metapod does not move very much. It stays still because it is preparing its soft innards for evolution inside the hard shell.
Source: @Pokemon