Though the tit-for-tat Israeli and Palestinian reactions seem emotionally driven, there is a calculated rationale in the fighting.