Lawfully, children have rights. You can confuse that with socialism all ya want, it isn't.
Frankly, people like you just don't seem to be that clued up in actual life and view it through some fundamentalist lens that has little bearing on reality. If you leave a child in an abusive environment...