It ordered the withdrawal from Gaza in order to stop the cycle of violence there, on the presumption that Israeli territory proper would not be attacked. But the possibility of attack was of course anticipated, and military planners determined that the only possible response was to counterattack as heavily and for as long as might be needed, until Palestinian attacks would stop, whether from exhaustion or agreement.