It's not 3D chess, it's geopolitics 101. There is pretty simple logic to why a leader might think you could kill 2 birds with one stone here.
Anybody who's ever looked at a map can see that Iran surrounds a strategic chokepoint for the world's most important natural resource.