Crabs are opportunists. If a meaty meal presents itself, they'll eat it.
Having said that, the question is, is the emerald cleaning up the dead, or causing the death?
Is anything stinging/irritating the Scolymia? Are you feeding it?
Sounds like the crab is a victim of circumstance - something else is likely causing the problem, he's just the one who picked up the smoking gun.
Jenn