Fighting has stopped after 23 Palestinians and four Israelis were killed in attacks over the weekend.