From the encyclopedia Britannica: "... It was Bondi’s handling of the Epstein files, however, that drew the greatest amount of criticism – from Democrats, fellow Republicans, and ultimately the president. In a February appearance before Congress, Bondi refused to apologize to, or even look at, survivors of Jeffrey Epstein’s abuse present in the chamber. Trump announced that Bondi’s former deputy and Trump’s former personal attorney Todd Blanche would become Acting Attorney General."
https://www.britannica.com/question/Why-did-Donald-Trump-fire-Pam-Bondi