I would argue there is no malice or ill will when a crab grabs another and pulls it down. It is possible a crab sees another trying to get out, and thinks they can use that crab to climb out themselves, not understanding that their escape attempt dooms both.
Thats a social theory aS well.