This NYT article about how to handle human/bear interactions is pretty grimly determined not to discuss the obvious answer of what to do when bears encroach on human settlements, so let me do it for the New York Times: bear in your kitchen? Shoot the bear. Bear in your suburban garden? Shoot the bear. Bear looks at you funny? Shoot the bear.
Bears aren’t dumb. They’ll get the message. Which is, bluntly: we evolved into fully-sentient tool-users and you didn’t. That means that we get the nice bits of real estate and you get whatever we feel like letting you have. Don’t like it? Sucks to be you, ursine.
PS: DON’T FEED THE DAMNED BEARS, EITHER. That only confuses them.