That's the problem.
In the wild, yes. But in captivity it is an advantage if the animals don't feel threatened by the keepers. The dangerous situations often occur when the animals are afraid and don't feel they have anywhere to escape. However, there are situations where the animals attack unprovoked, maybe because they want to assert their dominance, something that soon can turn into hunting/killing behaviour.