Iran has been building a MASSIVE arsenal to be able to crush such an act of aggression easily. Which is why Iran has been only using very old missiles and at small scale while hitting Israel. Possibly expecting a direct face off with NATO (as opposed to the current face off where NATO hides behind Israel) quite soon.
I think it's also a strategy to bleed Israel of its high-end defense missiles, which are limited and very expensive. Israel is ahead of Iran in terms of tech -- thanks to U.S. taxpayers' money. I believe Iran has one advantage over Israel, which is the cost of war. I recall hearing from one Saudi official that one of the main reasons the war against Yemen didn't fulfill its objectives and the Saudis had to stop was the "cost of defense." The Houthis would send a few thousand dollars' worth of missiles toward high-value targets, and the Saudis had to launch high-end, super-expensive air defense missiles like Patriots and whatnot. So every few thousand dollars required a few million to defend against. Saudi Arabia spent, by some estimates, between 200 and 1000 billion dollars on that war alone. Nobody can afford that much indefinitely. I believe Israel is in the same boat now. They want to rush to end the war by inviting the U.S. in; otherwise, Israel won't be able to endure the cost of war, both economically and socially.