The number of attacks on American troops in the Middle East increases the risk of deaths, a red line that could lead to a wider war.