Crabs eat snails because they either need a bigger shell and couldn't find one in your tank or that they are hungry and aren't getting enough food. They are oppurtunistic feeders and if they are hungry they will find easy prey.
Or they are bored? I swear mine killed 3 in one week, didn't move into their shells and didn't sit there to eat them. It was spooky.