That is so because Allah [swt] will never change a grace which He has bestowed on a people until they change what is in their own selves. And verily Allah [swt] is All-Hearer, All-Knower.
But if they incline to peace you also incline to it and trust in Allah [swt]. Verily He is the All-Hearer, the All-Knower.
But if they intend to betray you [O Muhammad (saws)] they indeed betrayed Allah [swt] before. So He gave [you] power over them. And Allah [swt] is All-Knower, All-Wise.
And those who believed afterwards and emigrated and strove hard along with you [in the Cause of Allah [swt]] they are of you. But kindred by blood are nearer to one another [regarding inheritance] in the decree ordained by Allah [swt]. Verily Allah [swt] is the All-Knower of everything.
And remove the anger of their [believers’] hearts. Allah [swt] accepts the repentance of whom He wills. Allah [swt] is All-Knowing, All-Wise.