Sorry for your loss. It sounds like you were doing all you could, but there's know way to tell what was wrong without knowing what actually happened.