I agree, 99% of bear problems are self inflicted, all the reasons that have been mentioned.
Bears that have been habituated are an issue as OS mentioned. While they might not attack you, they'll certainly make your life miserable, so why would you want that.
There are also what have been called the " Rogue" bear. These are young male bears who have established a territory and see everything in it as foe or food. Unfortunately for us humans, were just another item on the menu for these bears, rare as they are.
I've debated this with IC on the trip we took together. While I have no doubt that yelling/rocks/a beaver wood stick across the nose would deter the 99% I mentioned, the 1% that won't be is why I carry Bear Spray.
I'm less afraid of being killed by a bear outright, than mauled and left to die a slow and painful death. As a solo paddler, I plan for the worst, look for the best.
The recent episode with with Jack Hanna noted wildlife expert points out the value of being prepared for the worst. He did nothing wrong, but the bear(s) didn't see it that way

IC, I know you keep a clean camp, but IF you stay in a known problem bear area, I think it would be a wise choice to invest in some Bear Spray in case your unlucky enough to encounter that 1%

With your baking skills, you'll have every Yogi and Boo Boo in the neighborhood showing up