They were literally in the middle of negotiations, but Trump started the war anyway...
The question is really whether negotiations were going on in good faith with the actual goal of realistic compromise.
None of us know that side, I would assume.
It was pretty clear the negotiations had stalled based on statements put out by Iranian officials.