Congress can only make laws if they don’t infringe on the constitution. If they want laws that aren’t constitutional, they have to make constitutional amendments, which is probably never going to happen ever again because of how dysfunctional they are and have been for decades.
The president has a lot of constitutional protection to run the executive branch, though obviously congress has ways to pass laws and influence that, too.
The president isn’t accountable to congress but there are checks and balances both ways