Beijing, in an effort at neutrality, has called for a ceasefire and protection of civilians in the Gaza war.