There are several factors. Your body relies on break-down of nutrients to form energy. Using oxygen is called Aerobic metabolism. This produces enough energy for output. However, with less or not enough oxygen, you switch into anaerobic metabolism, which is not effective. This disminished energy can tire muscle currently being used. Lastly, continued effort on muscle can increase strain which will signal pain as well.