A territorial behavior -- the male slaps his breast feathers with his bill, forcing air down into the water and producing the bubbling effect.