Had this been done during a war, they could of been executed for treason... Odds are they would never have been sentenced to death... And in any case, it currently isn't considered to be "wartime" right now.
In Israel, Justice is civilized: They have been indicted, they will come to trial and, if convicted, sentenced by a Court of Law. Compare that to the uncivilized system in the arab lands around Israel: people are killed, stories are made up and finally charges are brought. Which country is in the modern world.