For most of the post–Cold War era, defense was a slow, predictable corner of the market.