Unfortunately the lack of funding is purely political football. Regarding the separation issue, how do feel about prisons which historically involve separation from family members?
But even if you ignored the cruel and unusual punishment aspects - deporting the children separately is unforgivable. In some cases they didn’t even bother to record the family connection before separating them.
Fundamentally, America has given the right - no, demanded - that police do "papers please" stops on people, and given them the right to detain them indefinitely until they produce papers. This is like a mandatory ID card system but without the benefits or coherent organisation.