I think you have it backwards. Israel tolerated something like ~30k rocket attacks from Gaza (between 2005-2023) before finally launching a major military campaign that sought to remove Hamas from power.
It would normally be absurd to expect a state with military superiority to tolerate ~30k rocket attacks from its weaker neighbor. That was only tenable because Israel's air defenses mitigated the bulk of the damage.
If Israel's air defenses and bunkers suddenly disappeared, Israel would be forced to respond far more aggressively to each terrorist attack.