Crabs only move onto tiles with crates.
Your task is to collect all the crabs in the level. Make matches or activate power-ups next to the crates to remove them and catch the crabs.
If you remove a crate with a crab on it, and there are no crates on the neighboring tiles, the crabs can't go anywhere, and you can catch them.