A wave’s frequency is set by its source and remains the same when it enters a different medium, although its speed and wavelength can change. Pitch is related to frequency; loudness depends on intensity and perception and is not the same quantity as frequency. For a Doppler shift, the observed frequency differs because source-observer motion changes the received wavefront spacing; the sound speed remains set by the medium.
Correction: Identify whether the question changes source frequency, medium, amplitude or relative motion. Then use the corresponding relation rather than treating pitch, loudness, wavelength and wave speed as interchangeable.
Quick check: Have you stated what is measured by the observer, which medium carries the wave, and which quantity the situation actually changes?