I hope I don't end up in ...

I observed, that the clicking occurs after/during opening their mouth. I believe, they are able to create some kind of sucktion. By opening their mouth quick/sharp, after "sucking", that noise is made, most likely amlpified by the swimmblader which may be the resonating body.
Any good?
The Y. Caudipunctata have a catching game. Whenever one would be able to bite the other one, it clicks (at the spot where it could have biten), to communicate "got you!". When all 5 are joining this game, it sounds like a row of firecrackers getting off, inside the tank.