The Times and Washington Post have reported that just about everything that could have gone wrong did go wrong on the mission and that it appears al Qaeda fighters in Yemen were tipped off to the approaching forces from the United States and United Arab Emirates.
https://origin-nyi.thehill.com/policy/defense/317501-trump-ordered-raid-in-yemen-approved-without-sufficient-intelligence
Who tipped them off? Why?