Ankle pain is often due to an ankle sprain. An ankle sprain is an injury to the ligaments, which connect bones to one another. In most cases, the ankle is twisted inward, causing small tears in the ligaments. The tearing leads to swelling and bruising, making it difficult to bear weight on the joint.