In order for pain to exist, there must be an outside cause (which usually given by the very first caregiver) and an awareness of the pain (that is us).

When being attacked, the animal instinc make one naturally try to remove it. So if one couldn’t remove the stimulates outside, the only way left, is to remove the awareness of pain, which is awareness itself. 

Make sense?