Dear Student
When sound travels from one medium to another, both its velocity and wavelength undergo changes but its frequency does not changes.
The frequency of sound depends upon the source of sound, not the medium of propagation. Hence, it does not change.
Regards