Ever since the terrorist attacks of September 11, 2001, the US military has gained an outsize voice in the formulation of US foreign policy. Two wars and large defense budgets have given the Pentagon cash and clout to do things traditionally done by diplomats.