Why do pigeon move their head back and forward while walking?

Pigeons do not actually move their heads back and forward while walking. They have a unique way of walking called a "*bobbing gait*" where their head stays relatively stable while their body moves up and down. This bobbing motion is caused by the pigeon's unique leg structure and the way they place their feet on the ground.