The Stuxnet cyberattack on Iran's nuclear capability was a joint US-Israeli operation in 2010. This has been going on for a long time.
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.