Leaks can be a strategy to turn a military buildup into political/psychological leverage.
The buildup requires much more effort than the leak. So in the buildup + leak strategy, the vast majority of effort goes to the buildup, not the leak.