There's an article in today's news about a woman who pleaded "no contest" to attempted murder in 1985 after allegedly shaking a child and causing him serious injury. In 2019 the child, now grown up, died from those injuries. The woman was indicted and has now pleaded "guilty" to manslaughter.
The Double Jeopardy Clause of the Fifth Amendment to the US Constitution prohibits multiple punishments for the same offense. Since she only committed a single act, I would expect that her 1985 plea and punishment would prevent a second prosecution. Why is that not the case?
Edit: The linked "duplicate" question is about a situation where a person is acquitted at trial but new evidence arose later and they were retried for the same crime. This question is about a situation where a person pleaded to one crime (attempted murder) and was later indicted for a different crime (manslaughter) arising from the same act.