The Justice Department fired a top national security prosecutor amid criticism from a right-wing commentator over his work during the Biden administration, further roiling the prominent U.S.