The storyFrom the resemblance to a donkey with its head nodding.Etymology from Wiktionary, CC BY-SA 4.0.