> Is this really that different than what humans do?
Yes, we have built in mechanism that react to situations we never encountered before. You will never be able to simply sit calmly while something is damaging you for example.
Reacting to damage is something you learned in previous generations. You've encountered that situation billions of times (you just don't remember them).