Any death which occurs during the commission of a felony is first-degree murder, and all participants in that felony can be charged with and found guilty of murder.
As a result, some parents who forget their children in cars face no charges, others are charged with felonies like involuntary manslaughter and still others are charged with misdemeanors, like child endangerment.