Because one is killing and the other is letting somebody die. They're totally different circumstances. If you stabbed somebody in the kidney the government can't force you to remove your kidney to replace it. You just get charged with assault or murder.
So you’re saying letting a child starve to death wouldn’t result in any charges? You just “let them die”, which isn’t illegal, according to your own legal expertise.