Eric Ten Hag was never a bad choice for Manchester United and when you check his stats so far he has been coaching Manchester United, he has performed above average and have won two trophies since given the position of the head coach. No criticism against him will make them sack him now. He has performed beyond average and that made his contract to be renewed. He is the best man for Manchester United and he will continue to be unless there is another person better which I’m yet to see that can handle the situation at Manchester United now.
The Manchester United team management continues to retain Erik Ten Hag as coach of their team, of course they have a very special reason apart from the two trophies you mentioned. Because the team management also does not want to take a stance on bringing in a new coach who still may not be able to change Manchester United for the better next season. So Erik Ten Hag is still the main choice to continue his duties like last season at Manchester United with a much better target next season.
One of the two trophies presented by Ten Hag, saved his career as Man United manager, and even received a new contract extension. Previously, many predicted that Ten Hag would be fired, considering that it took quite a long time for management to announce the results of their evaluation, but in the end Ten Hag was retained. It's possible that Man United is keeping Ten Hag because they haven't been able to recruit a better manager, and it is reported that Ten Hag is being kept because he has better plans for the long term which are very beneficial for Man United survival, by building a club made up of young players.
Meanwhile, Ten Hag has overhauled his coaching staff by recruiting Van Nistelrooy, to support his performance to be better next season. Man United also plans to make Amrabat status permanent from Fiorentina, I think that's a good choice even though he didn't contribute much in his first season. A number of players have been released by Man United, it is likely that they will add several new players, I think they will perform better next season. In the European League, Man United seems to be the favorite by many parties.