No, if you read the article, the hiker tried to get rid of the goat while the other two went ahead.
What this involved, it doesn't say. He was obviously too close to the wildlife. As is the case with most interactions.
Maybe a gun shot in this case might have made the goat run off. This goat became 'aggressive' maybe because of the hikers feeding them.
Its a shame that wildlife always pays the price when they come across dumb people.