The Isreali government's choice is a very simple one.
1) Respond to the rocket strikes by taking out the rocket launch sites.
2) Respond to the rocket strikes by doing nothing.
One of the government's, any government's, most important duties is to protect its citizens. If the Israeli government stops taking out the rocket launch sites, it has failed as a governmental entity in the most basic sense, and they know that. They don't exactly have a legitimate choice in response.
So, really, despite being ****ty, if you honestly can't see why that's the only real course of action, I don't see much point in continuing.