As Musk's DOGE pursues its ambitious agenda, uncertainty and legal challenges are mounting — causing frustration for Trump.