The string moves few molecules of air – certainly not enough to create pressure waves of a significant magnitude the ear could easily pick up.
How does the guitar produce sound? A player plucks a string and sets the string into a complex pattern of vibration that consists of a fundamental and many partials.
Acoustic guitars are fundamentally designed to convert the mechanical energy of string vibration into pressure waves that are transmitted to the ear through the air.