Pentagon saw an opportunity with the president: “This is like feeding a baby its medicine in yogurt or applesauce.”