The surprise attack broke a period of relative quiet during the Muslim holy month of Ramadan and increased fears that the 17-month conflict, which has claimed tens of thousands of Palestinian lives and left Gaza in ruins, would resume.