My understanding is that habituated brown bears are smart enought to see a candy wrap, associate it with food, and break into a vehicle. Same ideas as bear sees food bag, knows it has food it in and sends cub up the tree to break the branch the bag is hung from. The bears don't need to smell the food if they have a strong enough association.
_________________________
If I wouldn't eat it at home, why would I want to eat it on the trail?