Once you're in a cold war, it makes sense to play to your strengths. Capitalism, as an economic system, is better at producing weapons because it's better at producing anything, and producing a lot of weapons is a good way to get the other side to try and keep up. It's like developing a massive tolerance to alcohol so you can drink people under the table.