Abraham only asked for forgiveness for his father because of a promise he had made to him. But when it became clear to him that he was an enemy of Allah, he declared himself quit of him. Surely, Abraham was earnest in his supplication and tenderhearted.