The local pause in fighting came days after ceasefire efforts between Israel and Hamas appeared to be in doubt.