The troops have come under frequent attack from the al-Shabab militant group .