Was rock climbing at Tuolome Meadows 45 years ago and we had a Mason jar full of bacon drippings we were going to use to fry eggs. A large Black Bear walked up to our table, picked up the Mason jar and went about 20' away, calmy unscrewed the Mason jar lid, laid on his/her back, and holding the jar in both fore paws, happily slurped down the pint or so of drippings, and then wandered off.
Others have seen them go up to a Kelty Pack (this was years ago), and carefully unzip the pockets to get out the goodies.
Moral is, bears are very intelligent, clever, and innovative.
If they have it in their paws, its is theirs, do not try to grab it back.
Reed and Elaine