Where does the term “mocha” come from?

Mocha beans were Ethiopian coffee beans that were imported to Europe in the 18th century from the western Yemeni port of Mocha (المخا).
By the mid-nineteenth century, Americans had started adding chocolate to mocha coffee to add to its flavour, hence the term mocha is today applied to any chocolate-flavoured coffee.