I think I’d resign too. President is far too passive and taking too much shit without mounting a counter offensive.
Of course he wants to appear that he is getting tough and he would be successful if it wasnt for those MS-13 supporting Democrats and those ultra-liberal judges. But the ever increasing flood plays into his hands for campaigning and reelection.
Welcome to political calculus 101.
The other explanation would be that he has run the absolutely worst Presidential personnel management effort in history. A complete dunce about most of his top hires. It really is one or the other.