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.
I'm not having a go, but you should probably google complicit. I don't think it means what you think it does.