Hamas and Israel traded blame over failure to conclude a ceasefire agreement despite progress reported by both sides.