I don't know the details of either case but I have a suspicion, especially with the black bear example you mentioned, it has something to do with FOOD. Properly storing food will dramatically lower your chances of encountering a bear.
WARNING & DISCLAIMER:
SELECT AND USE OUTDOORS AND SURVIVAL EQUIPMENT, SUPPLIES AND TECHNIQUES AT YOUR OWN RISK. Information posted
on this forum is not reviewed for accuracy and may not be reliable, use at your own risk. Please
review the full WARNING & DISCLAIMER about information on this
site.