A bucket kept under a running tap is getting filled with water. A person sitting at a distance is able to get an idea of when the bucket is about to be filled.
What causes the change in the sound?
Therefore, the changes in the sound are caused, because the air column is decreased in filling the water in the bucket.