Ducks bob their heads to express social cues faster bobs may show excitement, slower ones calmness. It also touches on how head-bobbing plays a role in duck social hierarchy and bonding, and provides a short FAQ addressing related duck behaviours.
https://birdielearning.com/why....-do-ducks-bob-their-