What is the primary reason the name "crab-eating macaque" became descriptive?

Answer

Their penchant for shoreline dining where crabs are readily available

The descriptive title stems from their consumption of crustaceans, a defining characteristic observed due to their foraging along coasts and in mangrove ecosystems where crabs are readily available.

What is the primary reason the name "crab-eating macaque" became descriptive?
dietanimalCrabPrimateMacaque