Israel has expressed “sincere sorrow” over the deaths and pledged to carry out a “thorough and transparent” investigation.