In the context of Israel-Palestine, this issue is only raised in order to somehow justify Israeli oppression of the Palestinians, a la "They deserve it because they're not as enlightened as we are."
Consider that it doesn’t matter how genocidal Israel’s Islamicist neighbors are. The IDF occassionally targets civilians when they shouldn’t. Meanwhile Israel’s neighbors don’t even draw the distinction.
And look at surveys taken by European Muslims on their opinions on what should be done to gay people like me, when they can answer anonymously or think the surveyor is a fellow Muslim.