The US says it is acting in response to last week's deadly Islamic State attack on American forces in Syria.