A nuclear iran would be completely intolerable, never mind that their regime might just be lunatic enough to use them.
Add that war is bad for the whole world.
So the us benefits that it protects her economic (and strategic) interests in the ME, which are real and extremely important, at the low cost of a limited air campaign.
There are further moral arguments, but i'm answering your question in the most direct way.