There are only a few things the feds should be doing and border control and national security are two of them. And enforcing lets say a travel ban is a POTUS constitutional right.
Immigration is federally pre-empted. Giving immigration to the states could create 50 jurisdictions with immigrants who may not travel between the states.