U.S. air campaign against Islamic State in Syria likely to end

(Adds Mattis resignation, Afghanistan troop drawdown, paragraphs 2,8; graphic)

* Decision to pull out alarms Western allies

* Trump says 'time for others to finally fight'

* Syrians 'stuck between claws of hostile parties' -SDF

* Putin says risk Islamic State could regroup

By Phil Stewart and Ellen Francis

WASHINGTON/BEIRUT, Dec 20 (Reuters) - The United States will likely end its air campaign against Islamic State in Syria when it pulls out troops, U.S. officials said on Thursday, as President Donald Trump defended the planned withdrawal against criticism from allies abroad and at home.

U.S. Defense Secretary Jim Mattis, who had opposed Trump's decision on Syria, abruptly announced on Thursday he was resigning after meeting with the president. In a candid letter to Trump, the retired Marine general emphasized the importance of "showing respect" to allies.

NATO allies France and Germany said Washington's change of course on Syria risks damaging the fight against Islamic State, the militant group that had seized swathes of Iraq and Syria but has now been squeezed to a sliver of Syrian territory.

Several of Trump's fellow Republicans in Congress, joined by opposition Democrats, urged the president to reverse course, saying the withdrawal would strengthen the hand of Russia and Iran in Syria and enable a resurgence of Islamic State.

Trump, however, gave no sign of changing his mind and lashed out at Senator Lindsey Graham, a Republican who is sometimes an ally of the president but who has said a withdrawal would have "devastating consequences" for the United States.

"So hard to believe that Lindsey Graham would be against saving soldier lives & billions of $$$," Trump tweeted. "Why are we fighting for our enemy, Syria, by staying & killing ISIS for them, Russia, Iran & other locals? Time to focus on our Country & bring our youth back home where they belong!"

Trump's troop announcement on Wednesday upended a pillar of American policy in the Middle East and caused consternation in domestic and foreign critics who argued it would make it harder to find a diplomatic solution to Syria's seven-year civil war.

It also appeared to add momentum to Trump's long-stated goal of extricating the United States from its 17-year war in Afghanistan. U.S. officials told Reuters on Thursday that the administration is planning to significantly draw down thousands of the 14,000 troops now in Afghanistan, where Mattis has argued for a strong U.S. military presence.

France, a leading member of the U.S.-led coalition against Islamic State, said it would keep its troops in northern Syria for now and contested Trump's assertion that the group has been defeated in the country.