What you say is not applicable in this case. The attack on the mosque was a response by Jews to the destruction of Jewish homes by the Israeli government. Thus it was some Jews doing stuff to other Jews, and then the angered Jews doing something to Muslims. Not really "tit-for-tat" at all.
It may or may not be applicable in the way you describe it but to the Jews losing their homes because of what they see as attempted appeasement, by their government, of a sworn enemy that wants to extirminate them...the concept is very appropriately applied.