Head-bobbing is believed to be an instinctual behavior that is hardwired into a bird's brain. However, the frequency and intensity of head-bobbing may be influenced by learning and experience.