Israel had agreed to extend a pause in the fighting by four hours, but this was rejected by Islamist group Hamas.