I don't even think it's been a controversial decision. When an outside actor is involved, they're charged with both crimes because it's up to the mother to choose the fate of their fetus.There's definitely an argument that this sets dangerous precedent, but it also presents an interesting legal dilemma.
If a person were to shoot an obviously pregnant woman (Say 9 months) with the intention to kill the baby, do they charge the shooter with murder, attempted murder, or felony assault with a deadly weapon? If a fetus has no rights until it's actually born, then it has to be either attempted murder (of the mother) or assault with a deadly weapon. At that point, could the defense argue that the shooter had no intentions of killing the mother, only the unborn child and preempt the attempted murder charge?
Shooting at the mom necessarily requires that you're injuring the mom. And gut shots are dangerously fatal.
The fetus has no rights. But the mother has total control during the pregnancy.