While I don't think trump and co are smart enough to plan big stuff like this, I think it is pretty obvious they are trying to benefit oil companies and I have no doubt oil companies were involved in the decision to bomb Iran to some degree.
What I mean is Trump and Co probably spoke to oil execs before making the Iran decision to ask if they would raise production. Then they lied and said yes, while knowing they would drag their feet as prices rose.
Trump is a stoog. The folks around him treat him like an idiot. There's no way they weren't involved here. They've been around his entire presidency.