By repetition, doing it over and over until it became a conditioned reflex
Now, if you're troubled by this, how much more should you be troubled by the fact that every time a child plays an interactive point-and-shoot video game, he is learning the exact same conditioned reflex
and motor skills.
Enchmen's synthesis of Marxism and Pavlov's conditioned reflex
discoveries and his association, even if passing, with Lenin and Stalin, implied an imprimatur of his work.
In 1984 George Orwell wrote about the conditioned reflex
of "stopping short, as though by instinct, at the threshold of any dangerous thought.
Most likely it is a conditioned reflex
wherein the aroma suggests the caffeine is coming.
It remembers things that have hurt or been of benefit to it - that's a conditioned reflex
- and it has to learn by experience which places or creatures or events are worth remembering, and not let all the other stuff clutter up its brain.