Perhaps strategists understand the situation much better then we do. Also Jewish tradition places great value on any life. But definitely the ability to strike Israeli civillians with impunity encourages Hamas.
26-year-old sustains serious injuries in Tel Aviv stabbing (Haaretz)
from the article: IAF strikes Gaza targets in response to rocket fire on south