The kid is starving and child protective services isn't a free lunch program. Is the effort of potentially displacing the kid to foster care really solving the immediate problem?
Foster parents are also paid most places. Even purely in financial terms, for each child in foster care over something like this you could feed a lot of children instead, and avoiding the harmful effects of unnecessary interventions.