During the last few days of violence, Palestinians fired more than 40 rockets at Israeli communities near Gaza, the military said. The salvos damaged property, but nobody was hurt.
Israel says it holds Hamas responsible for the barrages because it rules Gaza. The two have largely maintained an unwritten truce since a brief war nearly four years ago, but flare-ups occur occasionally.
In a separate development, the U.N.’s Middle East envoy harshly criticized attacks blamed on Israeli settlers against Palestinian farmers and their olive trees in the West Bank.
In a statement, Robert Serry said Israel must do more to protect Palestinians and their property in the West Bank. The West Bank, claimed by the Palestinians for a state, is under Israeli military rule.
‘‘These acts are reprehensible, and I call on the government of Israel to bring those responsible to justice,’’ Serry said.
The Israeli military said security forces were taking ‘‘every measure to ensure the safety and security of the local residents.’’
Additional reporting by Maamoun Youssef in Cairo and Diaa Hadid in Jerusalem. Follow Hadid on twitter.com/diaahadid