Yahya Sinwar is a Palestinian is he not? He is indeed.
So if this Palestinian is a cockroach with blood dripping from fangs and demon tongue, then wouldn’t all Palestinians similarly be cockroaches?
Not at all. I'm shocked that you've suggested all Palestinians are cockroaches, that's incredibly dehumanising. There's only Yahya Sinwar in that cartoon so it's obviously referring only to him. Maybe it would've been more accurate if Yahya Sinwar had been portrayed as a leech? Maybe a spider in his web?
Similar images have been banned for dehumanising an ethnic group even when it is only featuring a known person of importance from that ethnicity.
You'll have to be more specific because it's not clear what you're referring to.
Look at who is being portrayed as a human and who is being portrayed as a wasp or cockroach.
Both of these cartoons are employing visual metaphors.
If you look properly at the first cartoon, it's referring to the wretched consequences of extremism (It actually says "EXTREMISM" on the drain) spreading or swarming out from Iran over the region, like cockroaches from a drain. The ideology not the people.
In the second cartoon, the wasps' nest is still wholly intact and all that's happening is Netanyahu is covered in stings and plasters. It unflatteringly portrays him as ineffectual, stupid and only hurting himself and highlights the futility of both parties' inability to break the cycle. It reads more like a criticism of Netanyahu than anything else.
How would you feel if Nethanyu had been drawn as something other than a human? I think I'd cope.