Mark T. Esper is the latest former senior U.S. official to have his security detail pulled despite having been the target of threats by Iran.