Babies often have fluid in their lungs that needs to be coughed up, I bet some idiot pronounced dead because the kid wasn't breathing and all that was needed was a few helpful pats on the back to help get the extra fluid out.
In the hospital they with a suction it out but the baby should cough it up. Sometimes they need a little help.