When you think about it it's hard for air to push itself faster than the speed of sound since the speed of sound is literally the speed that a wave of compression in air will propagate.
So how can it go faster than the max speed a wave of compression can travel at when it's powered by that? Well compressed air has a much higher speed of sound. So it's accelerated to the below speed of sound inside the nozzle and on exit it's now faster than the speed of sound, not due to further acceleration beyond the speed of sound but due to the speed of sound suddenly dropping in the lower pressure.