The initial thud comes from when those dorsal bursae collide. And the reverberation results from the vibrations that linger when the tissues pull apart. But Thode the younger says the bursae have to be somewhat sticky for the clapping together and snapping apart to produce a noise with the correct loudness and pitch. That stickiness comes courtesy of the mucus.
Beginning in 35 seconds.