Government officials may determine that income and health care for elderly citizens are their highest priority. Defense may not be an immediate priority for them. So the marginal benefit of Social Security spending is greater than the marginal cost of military spending.