The predicament Trump is in, and has been since he started the Iran War with Netanyahu, illustrates why it was so stupid and destructive to start this war in the first place. From the start, there were only two real options:
1) Take seriously all the stated war aims and try to fulfill them, which would require a protracted, self-destructive, devastating, years-long war of the kind Trump spent a decade vowing to avoid, or,
2) End the war quickly and prematurely, and then have to scurry around to find some way to claim that the US "won", which would -- at a minimum -- force Trump to credibly claim he got more than Obama's JCPOA gave, thus justifying all the massive bloodshed, instability and cost from the war.
If reports are correct (and it's a big "if"), Trump is choosing option (2). But his case that he actually won anything consequential beyond what the Obama Deal provided is close to laughable, while the losses to the US (and wins for Iran) are self-evident.