It's also ingrained in our genes.
Take someone that's not hungry. Ages ago, when there was a flicker out of the corner of someone's eye, a loud roar, and then the movement of some branches...
Some might have gone "I wonder what that's all about," and went to investigate.
We're, generally, the offspring of the ones that ran.
The unknown breeds fear. It's a healthy, survivalist-type response.