Why does a vibrating object produces sound?
When the object vibrates, it collides with the molecules in the medium. This collision produces vibrations in the medium too. The vibrations in the medium spread out through it, and when reaches our ear, it is sensed by the ear drum. The sensed vibrations are converted to electrical signals by the cochlear nerve and passed to the brain. The brain interprets these electrical signals as sound.