The phrase "gave pain" is a common way to express hurt or discomfort caused by someone's actions or words. However, there are many synonyms that can be used to convey the same meaning with different tones and nuances. Some examples include "inflicted suffering," "caused anguish," "induced agony," "provoked discomfort," and "brought about distress." Each of these phrases conveys a slightly different meaning, with some emphasizing the severity of the pain or the intentionality of the action. Using synonyms can help to add variety and nuance to your writing, while still conveying the same essential meaning.