Well, Iran gave up on all nuclear facilities after JCPOA.
Yet, the Trump administrations doubled down on sanctions. The country is now miserable.
At that point the only leverage they have is to bring back nuclear activities because without it you're left with absolutely no leverage.