Anyone who leaves ANY foodstuffs within reach at their campsite in bear country is an idiot. Or wears the clothing that they cooked in when they get into their tent.
That is why the bear thought they were food.
City folk...
Was up in the Boundary Waters of Minnesota and had my pack hanging up high on a rope between two trees. Not high enough! Luckily I heard the commotion and scared it off before it did too much damage. Ripped a hole in the pack and some stuff fell out but that was it.
I mentioned it to another canoeist the next day to watch out for them. He told me to stuff the pack up under the seat of the canoe and tie it in. Then turn the canoe over. The bear will make enough noise trying to tip the canoe over and you can chase it away. He said it was really difficult to get a pack up in the air high enough.
Of course for the next two weeks doing that, never had any bears come by! I think they hung out near the populated areas with numerous camp sites where I was at on my first night.