Not all birds are the same. Some are smarter than others, when interacting with their owners. Their tricks usually require some reinforcement and then they will do it all the time.
I had a bird that moved with us to a new house. After three years we moved back to the old house. For some reason we did not put the cage in its usual spot. When we let the bird out for a fly, it tried to land in the spot where the cage 'used to live' . So really smart that it remembered the house and the location of the cage, but a little dumb for trying to land on something that was not there.

Instinct can over ride the obvious sometimes.
