Edit: It looks like the argument here is that the US is not calling for an instant ceasefire, but instead saying that one is very important to have. China and Russia say it should be immediate. The US also tied it to hostage talks.
Another resolution is in the works to call for an immediate ceasefire, but the US is expected to veto it because they believe it could endanger hostage talks.
Israel’s also an important weapons manufacturer and importer.
If the deal Israel has with the US explodes, China would be more than happy to fill that void. Sell them some more weapons, import some fancy missile tech, etc. Their current stance belies years of cooperation, including weapons deals. Something the US was pressuring them on. (I say current stance, but they just blocked a cease fire, so it may be that they’re already making the pivot).
Not as if they actually give a shit about human rights of Gazans, despite the propaganda.
In international politics morality always comes second to real politik. There are no good guys.