A mistreated monkey was biologically programmed to avoid situations where he might be put in danger again, or to lash out before it could happen. That was the whole point of encoded memory. We could literally see the places in the brain where the past was etched, to encourage caution in a similar circumstance.