When there is fatigue, muscles are having oxygen deficiency so to overcome this oxygen deficiency, brain sends singnal to diaphragm to perform a deep inspiration to take gases inside and hence oxygen deficiency overcomes. This what medical science says.