The correct response is:
The pitch gets higher because of an increase in frequency.
As an object moves toward you, the sound waves it emits are compressed, resulting in a higher frequency and, therefore, a higher pitch. This phenomenon is known as the Doppler effect.