Dan Caine, a retired three-star general, found himself unexpectedly thrust into the limelight as President Donald Trump’s choice for the next chairman of the Joint Chiefs of Staff. Their first meeting in Iraq in 2018 left a lasting impression on Trump, who was taken by Caine’s confidence in quickly defeating the Islamic State.