One of the more frequent causes of pain in the feet is a discomfort within the heel bone called plantar inflammation that is an reaction of a strong ligament which holds up the mid-foot (arch) of the feet. This could be pretty debilitating when you get up from rest, particularly at first. https://foot-pains.blogspot.com/2022/09/foot-pain.html