There were obviously a lot of factors in play here. However, pulling out of JCPOA, against the will of all European partners and many US companies with no alternative reason was a crime. It was only to deny Obama/Democrats a win (over a good deal with Iran) which has brought a decade of misery upon Iranian people and risk of more wars among people in the region.
But the JCPOA was a massive, massive step forward and had no downsides for any of the countries involved. But leaving JCPOA was a step even more backwards and it may have pushed Iran over the edge. It may have been a point of no return for Iranian regime.
P.S: Thank you for the kind words.