In this case it is more that the US government (whether it is D or R in charge) find Palantir an effective and useful tool to help keep the state safe. That goes for other governments around the world too.