This video says about itself:
This Woodpecker Mimics a Snake When Threatened | Nat Geo Wild
23 September 2018
When threatened, the Eurasian wryneck bends and twists its head as if placing us under a spell. These birds were once thought to wield magical powers and to play a role in witchcraft.