he is just showing off and protecting his territory, thats the reason why when keeping other fish with bettas you need to add the other fish first so he doesnt claim the whole tank as his territory and then some fish come into it as he will puff up and then severely injure them