Maybe I’m missing the subtler geopolitical point here, but I don’t think it’s about oil. It’s about preventing Iran from getting nuclear weapons and threatening the region via their missiles, drones, and proxies.
Whether they succeed at it or not is an open question, but it seems clear that’s what it was about. Take operation midnight hammer last July. That was clearly only about the nuclear issue.