1. Yes, 20% Asian hiring rate is pretty decent when you compare to the general Asian population at large. However, the lawsuit specifically alleges that, in one example case, the qualified application pool was 73% Asian. In that case, it's extremely abnormal to hire 17 non-Asians and only 4 Asians.
2. Palantir is involved in government contracting, so there are also very specific regulations for compliance https://www.dol.gov/ofccp/aboutof.html
3. The lawsuit is being brought on by the Department of Labor. IMO, generally government agencies are usually reluctant to initiate lawsuits that they are afraid of losing.
4. It might be malicious, it might not be. But Palantir was given multiple chances to correct their compliance issue: "The Labor Department sent Palantir a notice in October 2015 about its findings, according to the lawsuit. Both before and after that notice, labor regulators attempted to secure Palantir's voluntary compliance, the lawsuit said, but they did not succeed."