It’s unclear exactly why [parrots] evolved this capability [for vocal learning], but research suggests they use it to tell members of their group apart from members of rival groups. ... According to this theory, birds that are raised in captivity might mimic their human owners as a way of gaining acceptance as a member of the family. If they hear “pretty bird” a lot, they’ll interpret that as a call distinct to their flock, and try making it themselves. If the parrot gets no response when she squawks, but gets lots of attention or treats when she makes humanlike noises, she has an extra incentive to practice forming words and phrases.
-- Andrew Sullivan's Dish
-- Andrew Sullivan's Dish