The ascension of the three generals to political jobs at the National Security Council reflects the rise of a generation of military leaders that came of age during the wars in Afghanistan and Iraq that began after the Sept. 11, 2001, attacks.