Crabs of the genus Trapezia live in association with pocilloporid corals; Tetralia only in Acropora. "In feeding experiments where crabs were removed from all coral colonies we found that Acanthaster planci (crown-of-thorns starfish) consumed both Acropora nasuta and Pocillopora damicornis in equal numbers. When Tetralia andTrapezia crabs were present in their respective host species, A. planci consumed all the A. nasuta colonies but never consumed P. damicornis." The Trapezia
crabs were more effective in their defense, breaking off thorns at the pedicle. The Tetralia
crabs pinched at the starfish's tube feet, doing little damage.
You can read the full paper here."