Israel and Hamas have accused each other of complicating ceasefire efforts as the two sides inch closer to a deal that could wind down the 14-month war in Gaza.