abigail has a puppy that she loves to hold in her lap and pet. she visits her grandma who has bird. abigail at first tries to grab the bird to hold it, and it nips her finger. she has quickly learned that she must just pet the bird when it is in its cage. what cognitive process did abigail use?