As a lawyer for a conservative think tank, Ms. Bondi, now the attorney general, filed a Supreme Court brief last year saying service members who followed such orders were committing crimes.
The Democratic president and his top advisers rejected recommendations that could have eased the border crisis that helped return Donald Trump to the White House.