The correct response is:
The pitch gets higher because of an increase in frequency.
This phenomenon is known as the Doppler effect, where the frequency of sound waves increases (and thus the pitch gets higher) as the source of the sound moves closer to the observer.