One advantage of spray versus bullets is that all the participants walk away (or perhaps scamper) from the encounter and go on living. It is likely that the bear learns that humans are nasty and there are better things to do than mess around with them. If the objective is to maintain a healthy ecosystem, spray is the better tool.
_________________________
Geezer in Chief