Here's why:
* Light: While the speed of light changes as it passes from one medium to another (like from air to water), its frequency remains constant. This is because frequency is determined by the source of the light, not the medium it travels through.
* Sound: Similar to light, the speed of sound changes depending on the medium (sound travels faster in solids than in liquids, and faster in liquids than in gases). However, the frequency of the sound wave, which is related to the pitch, stays the same.
Other quantities that change:
* Speed: Both light and sound change speed when transitioning between media.
* Wavelength: The wavelength of light and sound is directly related to the speed and frequency. Since the speed changes, the wavelength also changes.
Let me know if you have any other questions!