The problem with the claim of nuclear weapons program is that the dominant assessment of the intelligence communities is that Iran didn't have a nuclear weapons program at all. Khamenei the elder was known to be against having a nuclear weapons program, and the US's achievement is to replace him with his son... who is known to be in the pro-nuclear weapons program. Considering that the nuclear enrichment centers were targeted in last year's strikes, it's not even clear that the strikes this year have had a meaningful effect in even a temporary delay in enrichment progress.
At this point, I suspect that Trump never had any strategic war aims in the first place, but was instead motivated by an operational aim (regime change in Iran, à la the Venezuela operation), and has been flailing about since then because the administration simply doesn't have anyone with the capacity to actually understand the strategic reality of the situation and is substituting operational and tactical goals for strategic ones.
Let’s be realistic, this was probably about Israeli domestic politics first and US domestic politics second, and maybe thirdly as a favor to the Saudis. It’s crooks running all three countries for their own purposes and issuing BS PR cover stories.
You should watch “Wag the Dog”, a 1997 movie about a president who starts a war to distract from a sex scandal. The real goals here have nothing to do with anything Iran has ever done.
But that doesn't mean that the timing of the current war, and the choice to start it, wasn't due to Trump's desire for a distraction.
Israel have wanted to do this for over 4 decades. Netanyahu has been spreading this “we can’t let them get a bomb” rhetoric much earlier than 2015.
The point is that this recent attack, Israel approached Trump with the idea and said they are going to do it with or without him. This isn’t speculation, this is what we know.