For what it’s worth, she was “quickly” released on bail (the article doesn’t say how quickly), and the prosecution is not seeking further jail time but rather for the mom to sign a “safety plan” (although not signing could indeed lead to a year of jail time).
Your point is correct, but “the kid has no parent at all” isn’t (currently) true.