Animals, both individually and as a group, do learn, react, and adapt to situations. The better and faster they do it, the more likely they are to survive. Natural selection, at work.
Animals that have been hunted and survive, quickly learn what things constitute a danger. Young learn from older animals, parents, pride, herd, troop, pod, flock, what ever it is. When man enters some new factor into their environment, they learn and adapt.
And, not always in ways we expect or predict.
I've heard, in some areas in Alaska some bears figured out the sound of a shot was a "dinner bell".
Other side of the coin, animals who have learned the sight, sound, scent of man means danger, go out of their way to stay well away from those. Take that away (for any reasons) and over a bit of time, (and not that long in human terms) when man isn't a danger, they don't go out of their way to avoid us. Sometimes, they get curious and get close. When we're not a recognized threat, predators get wondering, we're rather slow, look easy to catch, we might be good to eat.
Nearly all predators are "wired" so that if you act like prey, you ARE prey. And, remember, they are the ones who decide if we act like prey, not us.