Wind is basically moving air. So, the medium through which the sound is propagated is moving and the velocity of wind is added vectorially to the velocity of sound. That's why the frquency of the sound heard by a listener depends on the wind velocity.