There is a fear of consequence as well. I feared shots as a kid. I feared them because I knew they hurt. I used to flinch when people would throw punches at me. Again, because I knew what would happen if one hit.
Those are trained responses to keep the body safe. Sometimes they are good, sometimes they are bad.