He is making a bubblenest.Some bettas do that.Nemo and Ruby 2 of my males make them off and on all the time. To me it means they are happy.