It became obvious that Matt Gaetz was going to have a lot of trouble being confirmed (if he could be confirmed at all), so Donald Trump had Gaetz withdraw his name from consideration. By having Gaetz do it instead of Trump, it looks a little less like a loss by Trump (although that's exactly what it was).
It didn't take Trump long to announce another nominee for Attorney General. He chose attorney Pam Bondi of Florida.
Trump's base will love the pick, because she is a Trump loyalist and a card-carrying member of the MAGA cult. I doubt many others will be pleased though.
Bondi has a couple of things that make her a better pick than Gaetz. She has no history of sexual abuse. She also has experience both as a prosecutor and an administrator - having served 18 years as a prosecutor and served two terms as Florida's Attorney General.
She is a right-wing culture warrior. She opposes abortion and LGBTQ+ rights (including the right to marry). And she twice tried to have the Affordable Care Act (Obamacare) overturned. She is also an election-denier, and defended Trump in his impeachment trial.
Will she fulfill Trump's dream of retribution against his political opponents? We don't know yet. But it's a bad sign that she accused President Biden of criminal behavior while defending Trump.
She's not a good choice, but nobody expected Trump to make a good choice. She will be confirmed by the Republican-controlled Senate.