The food source is mostly dead and decaying animals, although the crabs also enjoy feasting on coconuts, which accounts for their common name.To break into a coconut requires something fairly powerful in order to crack the shell.