It made sense for iran to try to negotiate with the US because the alternative was a war they had no chance to win. Arguably it also made sense for them to not come to an agreement because USA wanted concessesions the Iranian regime probably couldn't do while still staying in power given how weak they are domestically.
> I don't support any of these creeps but if any of them were minimally rational, they would have all gone to total war with Israel and the US the minute they realized what Hamas was doing on October 7th.
Israel's ability to divide and conqour its enemies here has been pretty impressive.