U.S. President Donald Trump and his administration have offered shifting explanations for why the war is necessary — and what the endgame is.