Nerve pain in the feet, also called peripheral neuropathy, is caused by the nerves lacking something they need to heal. In sleep apnea, it is lack of oxygen that impairs healing. In diabetes, the elevated blood sugar impairs nutrient transfer to the nerve cells.
In celiac disease, there can be direct damage of the nerve cells by the disease process...