This is normal for male beta fish. It's a way of showing aggressiveness to intimidate other fish. He probably is seeing his own reflection somewhere. Don't worry, it's just normal male beta behavior.

Mine does the same thing when I put a mirror in front of him.
