On Monday, the USA military said it killed 49 members of al-Shabaab in three separate airstrike over a period of 12 days.
Enemy forces used mortars and small-arms fire to attack the US-Somali-Kenyan coalition force.
On Monday, The New York Times reported that a sweeping Pentagon review of elite United States commando missions is likely to result in a sharp cut - by as much as half over the next three years - in Special Operations forces in Africa.
"We also injured four USA soldiers", Abdiasis Abu Musab, al Shabaab's military operations spokesman, told Reuters on late Friday.
"My thoughts and prayers are with the families of our serviceman who was killed and his fellow servicemen who were wounded in Somolia (sic)", he tweeted. "They are truly all HEROES", Trump wrote on Twitter.
"One of the wounded U.S service members received sufficient medical care in the field".More news: Google Promises Its A.I. Will Not Be Used for Weapons
"We have increased the firepower; we've increased the ISR [intelligence, surveillance and reconnaissance] capacity; we've increased various response times", Marine Gen. Thomas Waldhauser, head of AFRICOM, told reporters on May 10.
The coalition force was conducting a "multi-day operation" to clear al-Shabaab, an Islamist militant group, from nearby villages. It was unclear whether all 800 US, Kenyan and Somali troops were present when the attack took place. Since the Niger ambush, Special Forces teams have had their hands tied and wings clipped according to SOFREP sources who stated that they were hardly able to leave their bases anymore.
The American forces were operating alongside Somali troops.
On Thursday, the UN Security Council warned that "internal and external pressures risk undermining Somalia's political unity" and expressed serious concern at the ongoing threats posed by Al-Shabaab.
A USA military report on that incident publicized by the Pentagon last month without being fully released found that multiple individual and institutional failures left the US troops vulnerable to the ambush. The US's role in AFRICOM's area of responsibility has come under heavy scrutiny following an October ambush in Niger that left four soldiers dead.