His country is on the line and he is dependent on the West for support. Ukraine has nothing to gain and everything to lose from supporting Palestinians.
Edit: Huh, could’ve sworn the message I replied to read that Zelensky’s support for Israel is infuriating.