Abraham asked forgiveness for his father because he had made a promise to him, but once he realized that his father was an enemy of God, he washed his hands of him. Abraham was tender-hearted and forbearing.
And Abraham prayed for his father's forgiveness only because of a promise he had made to him. But when it became clear to him that he was an enemy to Allah, he dissociated himself from him: for Abraham was most tender-hearted, forbearing.