Pain alone is not enough to cause anger. Anger occurs when pain is combined with some anger_triggering thoughts.
Thoughts that can trigger anger include personal assessment, assumptions, evaluations or interpretations of situations that makes people think that someone else is attempting (consciously or not) to hurt them.
Anger produces more muscle tension, higher blood pressure and lower heart rate.
It is more satisfying to feel angry than to acknowledge the painful feeling associated with vulnerability.