I think these two conditions can be different pathology. I would suggest you to get MRI
of the foot to see if there is any stress fracture
or inflammation inside feet. I would also recommend you to get opinion if your foot arch is abnormal. After these reports we can get real cause of your foot pain, till then you use hot water fomentation, soft footwear.