Why does clubfoot cause discomfort in the knee, hip and other joints?

Foot pronation causes abnormal gait and in order to obtain a relatively normal gait, the knee and hip joints will adjust accordingly to compensate, but this compensatory mechanism will cause the knee and hip joints to be in an abnormal stress state, which will cause damage to the knee and hip joints over time.
This reasoning also applies to other foot conditions.