Bird barks like a dog
The bird lives in the same house with dogs. During this time, it has learned to imitate man's four-legged friends, with whom it spends a lot of time together.
Who you hang out with, that's who you learn from
How to understand that the bird lives with dogs: