Israel formally accuses Hamas of being at war.