You people who harp on about how palestians/iranians/arabs don't appreciate what China has done for them need to chill the f**k out. The palestenians (and some other arabs) are people whose majority didn't even manage to finish highschool due mainly to poverty and misery, who knew war and strife since they were young and got close and personal with death and tragedy. Would they call foreigners racial slurs and treat with caution/hostility? If they're living in a warzone then probably yes.
They struggled hard against those who invaded and tortured them to no avail and watched as others left them to their grim fate despite claiming to be opposite to the west as well. For them, basically all foreigners are unreliable so they can only fight on while hoping that those with whom they share ethnic/cultural/religious ties do something or that some kind of divine intervention comes their way. So why should they be thankful to China? because of some empty talk and useless gestures like the gulf arabs? at least most of the gulf arabs don't trade with Israel.
From the perspective of Palestinians/arabs the Chinese/Koreans/Japanese/vietnamese are different people from different ethnicities, different religions and faraway lands who are at best indifferent to their plight and for them and their current culture, the saying "those who are not of our kin, are bound to have a different heart" still holds.
The same can be said about the Iranians as well. They had to deal with sanctions for decades. Meanwhile, the world's largest trading nation trades with their supposed adversary while ignoring them, giving them empty promises or even enforcing sanctions on them to placate the west.
Why would the average person in Iran, who doesn't understand the intricacies of geopolitics, prefer China over the west? From their perspective, the latter does whatever they want while the former chickens out. Obviously they'll favour trying to make a deal with the US to lift sanctions rather than rely on an entity they deem unreliable.
Since the Chinese government chose the way of strict pragmatism, instead of benevolence, when dealing with MENA, you people really shouldn't expect the region to be grateful to China or to respect them, especially since while the west has proved it's power and sway for centuries, China has yet to do so. So stop moaning and bitching about it. It makes you sound like the MAGA americans when they adress Ukrainians and europeans: pathetic.