The legislative branch makes the laws, the executive branch enforced them. Judicial rulings are not laws either.
But as for EO’s not being laws, your ilk said the exact opposite when Biden tried to force vaccinations on everyone, and when he kept forgiving student loans. Only it was the Supreme Court that stopped these: not a district court.