Which came first foot pain or knee pain

I have had a bad knee problem for years, but a few months ago it was really my foot that was source of pain, but I knew the issue with my knee were at the root, the PT’s and PTA’s have been great in getting my whole leg — muscles and tendons stretched which has made the foot pain more manageable! Thanks Aquacare S curve!