It is very difficult to confine and domesticate natural animals, but some succeed, the wild animal gradually becomes their best friend.
Swan attacking to guy who wants to swim in lake in her territory
If you leave dogs in packs, they will become aggressive. In fact, herd psychology comes into play and even pets become aggressive.