This is where incentives strike us once again.
Unlike in any other pursuit, in war, governments have at least some incentive to be efficient, lest they be outcompeted by the other side.
In peacetime science, all they care about is crossing the is, dashing the ts, and making sure that no icky ethics violations are likely to cause a PR scandal and get somebody ousted from their post.