Dumb Lucky I'd day. The bear obviously habituated to scrounging for people's goodies. Been around a bunch of them both black and brown/grizzies. Can't trust them and that was too close- the people were too nonchalant and stupid. In the end the bear will lose because sooner or later that bear will swat someone and have to be killed. Or get shot by some nimrod carrying inadequate protection, usually a pistol, will panic, shoot it, the bear will run off and die or have to be tracked down and killed. These stories usually don't end well.