The 2008 TARP that bailed out GM and Chrysler may have had widespread support but it wasn’t universal. In my opinion it shouldn’t have been done either and was probably only necessary because of the original Chrysler bailout back in the day. Without that “The Big Three” would have been subject to market forces and turned into “The Big Two”, the healthier market may have kept GM from being in the position to need a bailout.
The other point of note is that GM did repay their loan so at least in that instance it worked out. I have no idea why anyone in the Federal Government thought that Yellow would be able to successfully repay this one.