Your ankle is designed to recognize even the tiniest movement and let your brain know what's happening. Then your brain tells the joint how to adjust its speed and direction. This process is called proprioception.
Damage to the joint capsule and/or surrounding tendons or muscles from a sprain can also damage your proprioception. The twinges you feel may occur because of a delayed message relay system, a weak muscle around the joint, or both. Recurrent ankle sprains result in pain, swelling, and loss of motion.
The "twinges" may be a signal that your proprioception isn't working well. This puts you at risk for another ankle sprain. Current thinking is that a rehab program can help restore joint proprioception and prevent another injury.