Sprains can happen with any sport, including just walking across the yard! Ankle sprains are most common in ball sports such as basketball, soccer, volleyball and others.
Maybe you came down too hard when you jumped to catch a ball. Perhaps you stepped into a hole and twisted your foot. You might be the newest member of a common club: people with an ankle sprain.