Why does some pain fade?

Why does some pain last and other pain fade away? I’ve been chewing on this question for a few months now. Eight and a half...