You may be putting unequal pressure on your legs/ankles, and causing minor stress fractures. Semi-consciously you're correcting this by standing on one leg to balance the weight more evenly on that single leg. You should see a physician to determine if you have any bone damage/displacement.\n\n[Source](http://i.imgur.com/vbFlI.jpg)