Ankle pain is often due to an ankle sprain. A sprain is an injury to ligaments, which connect bones to one another. In most cases of ankle sprain, the ankle is twisted, causing tiny tears in the ligaments. This makes the ankle somewhat unstable. The tearing leads to swelling and bruising, making it difficult to bare weight.
In addition to ankle sprains, and other injuries,ankle pain can be caused by arthritis, gout, pseudogout, and infection.
Gout occurs when you produce too much uric acid (a waste product in the body). The extra uric acid gets deposited and forms crystals in joints, rather than being excreted in the urine.