How do ants spontaneously grow wings?
See the Wikipedia entry for nuptual flight.

The ants that you see most often are (wingless) female workers. The winged ants that you see are male drones whose only role is to fly with young queens for mating. The drones follow a different developmental pathway, emerge from the pupa as winged ants, and then wait in the nest until conditions are right for the big event.