A sprain is an injury to ligaments, which connect bones to one another. In most cases of ankle sprain, the ankle is twisted inward, causing tiny tears in the ligaments. This makes the ankle somewhat unstable. In addition to ankle sprains and other injuries, ankle pain can be caused by arthritis, gout, pseudogout, and infection.