...have observed bears walk away from a camp once they spot the containers.
Sure sounds like deductive reasoning to me.
I guess if they're bright enough to drive a motorcyle they can certainly quickly deduce possible food sources.
It would be interesting to study whether the bears around Whitney Portal associate the F&G stock truck as a re-supply of their local fish tank?