| The president confronted the limits of U.S. military power as costs loomed and Mideast allies lobbied for restraint. |