Quiz: Remember the definition of mal de mer?
crustacean, Old English crabba, from a general Germanic root (cf. Dutch krab, Old High German krebiz, German Krabbe, Old Norse krabbi "crab"), related to Low German krabben, Dutch krabelen "to scratch, claw," from PIE root *gerbh- "to scratch, carve" (see carve). The constellation name is attested in English from c.1000; the Crab Nebula (1868), however, is in Taurus, and is so called for its shape. French crabe (13c.) is from Dutch.
"fruit of the wild apple tree," c.1300, crabbe, perhaps from Scandinavian scrab, of obscure origin (cf. Swedish krabbäpple). The combination of "bad-tempered, combative" and "sour" in the two nouns crab naturally yielded a verb meaning of "to vex, irritate" (c.1400), later "to complain irritably, find fault" (c.1500). The noun meaning "sour person" is from 1570s.