Looks like it could be a bacterial problem. Treat with quick cure (found at petsmart) it should take care of the problem. Are you using a dechloroniator? Make sure to follow the instructions on the quick cure because I think bettas require half the treatment.