Critique of Palantir (and other emerging military tech companies) often comes with the pre-assumption that we ourselves are our biggest threats. But outside of the luxuries of the West, people don't think like that. The Chinese, the Iranians, the Russians are not going to have moral qualms developing such technology because they remain aligned to the interests of their nations first over external enemies. That same assumption is held for those in Palantir, although for Pro-Palestine, I would imagine they are already the "enemy".
The idea of treating your enemies as you will your friends is a highly contentious position even today. Not everyone is going to have that same position, and in fact very may be that the very assumption of such a stance is enough for you to be labelled out of group. Which at that point, it's a ideological conflict, not a moral one.