Emotional pain does “hurt”.
There is a difference between pain and suffering, and sometimes individuals create more suffering than the initial pain warrants. Emotion pain literally hurts because it can fire the same brain areas that are activated for physical pain. This brain functioning shows the reality of emotional pain. This makes sense evolutionarily because physical pain came first, so the emotional parallel evolved to just use the same brain circuits.