The error here is in considering “America” as a single entity
“America” may be more powerful than Israel, but no single American politician is more powerful than AIPAC
“America” may be more powerful than Israel, but no single American politician is more powerful than AIPAC
I'm not arguing Nethanyahu played no role, he did deploy whatever influence and persuasion he could muster, and that helped overpower the influence of those who supported the deal, like French President Macron. But ultimately it was Trump's decision, and Nethanyahu would have had to live with it had Trump made a different call.
Aside, note that nobody even thinks of easing up US sanctions on Cuba again or rejoining that agreement with Cuba. The Democratic party got such a signal from Hispanics last elections it's not even on the agenda.