It is a wiring issue in the brain. Heard that on a Law and Order episode then found this.
Neurologist Vilayanur S. Ramachandran proposed that foot fetishism is caused by the feet and the genitals occupying adjacent areas of the somatosensory cortex, possibly entailing some neural crosstalk between the two.
http://en.wikipedia.org/wiki/Foot_fetishism