They aren't playing, as such. Many Corydoras, including trilineatus which those ones seem to be, will spawn in areas in which the flow is high, so flow from bubbles can get them into an excited state.
Many plecos come from areas in which there is high flow, so there are times you may see them...