There is some interesting science that points to a combination of mental and physical endurance. The idea is called Central Governor Model and it is the hypothesis is that there is a mechanism that prevents the body from “exercising” itself to death. From my understanding it is a feedback loop between the muscles and brain. Researchers aren’t sure if the fatigue signal comes from the brain or the muscles.
You can listen to a podcast about this topic as it relates to the world record for pull ups in 24 hours. [https://www.outsideonline.com/podcast/pull-artists/](https://www.outsideonline.com/podcast/pull-artists/)
You can read about it as it relates to runners here: https://thereader.mitpress.mit.edu/running-and-the-science-of-mental-toughness/
Latest Answers