The round trip time for the echoes gets shorter as the bat gets closer to its prey so the bat is able to emit pulses more freqquently without overlapping the returning echo.
If you hear a recording of the sound of a pipistrelle bat hunting that has been electronically frequency shifted into the human audible range you'll hear what they're doing.