The Soul's Journey Correspondence by Rabbi Menachem M. Schneerson, The Lubavitcher Rebbe
Whatever the direct cause of the separation of the soul from the body, whether a fatal accident or a fatal illness, it could affect only any of the vital organs of the physical body, but could in no way affect the spiritual soul.
“After everything that has befallen the whole Jewish people in our generation, we cannot fathom the tragedies… The only thing that can be said is that it must reinforce our demand for Moshiach, who must answer all the questions.”