Three of the dead were killed by Hamas rocket fire in Gaza .