these are the major causes for this deformity but sometimes the reason is different: an injury to the knees or legs. osteomyelitis (a bone infection) arthritis. vitamin D deficiency. some genetic conditions which make your joint hypermobility syndrome or Ehlers-Danlos syndrome.