The security sources, who spoke on condition of anonymity, assessed that Hamas had probably launched the barrage in revenge for an Israeli airstrike several hours earlier which killed one person and injured three more.