They know it doesn't win wars.
I'm not sure of that. The myth that you can win wars from the air is a tenacious one, often propagated by people whose salary depends on not understanding the fallacy behind it.
Israel doesn't want a resolved war. Only pure destruction of Iran
Israel and Iran both want to establish a (local) hegemony, and both are each other's greatest local rival. Both want the other exterminated or at least reduced to a vassal that poses no threat to their nascent empire.
The resolution offered by the JCPOA (2015) basically gave Iran free reign to resume their activities, so long as they weren't a threat to the global powers. It's quite understandable that Israel would be just as upset with that solution as Iran was previously with the sanctions.
None of that excuses the cruelty either side inflicts (directly or indirectly) on the people in their way. Imperialism sucks.