It's confusing because everything in Buddhism starts and ends in the mind. The body is an extension of the mind (my description). So if the mind is healthy, the body is healthy, if the mind is ill then the body can be ill. So if your mind is in a state of hell, the body will likely follow and be unwell and suffer.
Look up
psychosomatic online.
Psychosomatic is a modern term, my guess is that over 2000 years ago Buddha may have used "realms of hell", an example being alcoholics, who would drink to get drunk mentally, but their bodies would suffer likewise due to alcohol and mental suffering.