I wanted to catch Terrakion and its cave was blocked by stones.
You have to catch Virizion and Cobalion first.
The Musketeer Trio must be caught in this order:
Since you all think I am wrong for some reason (Idk why) I think I'll give some sources.
you have to catch cobalion first