You wrote it was a "rescue mission". It wasn't a rescue mission. Called "Raid on Yakla": It was planned under the Obama admin and Trump ok'd it 8 days into his presidency. It was a joint United Arab Emirates/United States mission planned by U.S. Central Command and CIA to gather intelligence via laptops, phones, documents on personnel and operations of al-Qaeda in the Arabian Peninsula in Yemen, and probably try to kill the leader Qasim al-Raymi and any target of opportunity in the way.
I'm sure Trump knew jack-spud about anything going on there. Trump's Defense Secretary Jim Mattis and chairman of the Joint Chiefs of Staff presented the plan to Trump, and National Security Advisor Michael Flynn pushed for it. Trump isn't going to know about proper military backup assets, or proper protocols like a live Situation Room, for an operation like this. He's going to depend on "the experts". You can blame Trump for okaying it, but not for the operational inadequacies.
Hopefully Trump (and everyone with that power) has learned a valuable lesson from the attack. At least Trump isn't one to start or engage in new foreign war adventures.
Since it's a civil war in Yemen, I'd be dubious about that groups connection with al-Qaeda, I'd doubt they have any international interests, rather their interest is in winning the civil war in Yemen or separating into an autonomous country. The US shouldn't be doing Saudi Arabia's bidding with their intervention into Yemen. I remember
Saudi's bombing raids on civilian targets, including a school in Yemen. Vietnam and history have taught us civil wars are almost always local affairs and not genuine proxy gains by larger actors (ie Iran).
The worst thing in this area was Obama carrying out the
assassination of a US citizen (Anwar Nasser Abdulla al-Awlaki) through a drone strike in 2011. That's an execution without due process. If he's committed a crime against the United States, then send a superior force to capture him and then put him on trial.