The US president may be forced to wage a political battle at home while presiding over a new war in the Middle East.