And it's a lot easier to justify military spending than it is research.
Same reason NASA is the way it is, but we still have a space program.