Trump's entire political image was based around spiting Obama. It's what made him a right wing icon earlier in the decade, and what helped him win the nomination of the Republican Party. This was apparent from the start and anyone who didn't notice it is willfully ignorant.
Rejection of the policies of a predecessor tor inefficacy, poor results, or corrigible faults (in the latter, correction will be adequate) is understandable. Policies will always be reshaped or when necessary undone.
The enmity of Trump toward his predecessor is personal spite, and not principle. Personal spite is not a good cause; it is not thinking in an adult mode. So Obama made known that he thought that Donald Trump is a hollow, amoral man for pressing the allegation that Obama is not a US citizen. (Being born to an American woman who was an American citizen at the time, it would not matter if he had been born in then-British Kenya).
So we see even more evidence. Should that be cause for the next President to repudiate everything that Trump did? NO!!! Such should be done for specific fault, and not because of the association of a Trump policy.
There is still a grim surprise here though, it shows that Trump doesn't even believe his own lies, which is worse than being deluded. The pretense behind withdrawing from the agreement was supposedly because it was too generous to Iran, that was the rhetoric he used. But really, that was never even close to being the real rationale that Trump or his confidants convinced themselves of. People who voted for Trump should feel had, but they're almost certainly don't care. I hope this increasingly worse geopolitical conflict was worth it!
As I recall, the warming relations between the Obama administration and the Islamic Republic of Iran was frequent cooperation between the US Navy and the Iranian Navy in suppressing piracy off the coast of Somalia. Could America and Iran have a shared interest in suppressing piracy? Shipping lanes are to be inviolable if shipping is not to be exorbitantly expensive.
It's astounding that Trump and his party can continue to keep getting more and more despicable every day. We may never reach the bedrock!
Syphilis? Cocaine? Both can foster cruelty and erratic behavior.