Anthropic's stance is "we believe in the use of our tools, with safeguards, to assist the defense of the US".
So of course they would work with Palantir to deploy those tools.
The issue we're seeing is because the DoW decided they no longer like the "with safeguards" part of the above and is trying to force Anthropic to remove them.