Step-by-step explanation:
Doppler effect: There is an apparent change in the frequency when there is relative motion between the source and the listener. This phenomenon is Doppler effect.
When the source and the listener are moving towards each other then the frequency of the wave increases.
In the given problem, the frequency of a siren gets higher as an ambulance using that siren gets closer. The frequency of the siren increases due to Doppler effect. The pitch of the sound also becomes louder as the pitch depends on the frequency.