The executive branch is afforded some discretion, but the judicial system decides how law gets applied as directed by Congress when they write laws.
And even when cases are brought, the DoJ needs to defend them. See a number of cases that were very far along in the court system that the Biden administration was pursuing, that the Trump DoJ just quit defending. They simply no longer have a lawyer, and functionally cannot proceed.