What is the meaning of Crabapple?

Any of the wild species of apple tree, genus Malus, which generally yield small, bitter fruit (in comparison to domestic apples, Malus domestica).

The fruit of this tree.

An unpleasant person; a person who is crabby.

Source: wiktionary.org