BEIRUT, Lebanon — President Obama said the American-led airstrikes in Syria were intended to punish the terror organizations that threatened the United States — but would do nothing to aid President Bashar al-Assad of Syria, who is at war with the same groups.