Welcome to Fish Lore

I agree with Alex, most bettas don't make good community fish. It would be a good idea for him to have a filtered, cycled heated 5g tank of his own.
Also, with the DG and the betta both being territorial fish, an over crowded tank can bring out their aggression.
If you find it's the DG, you can try re-arranging your decorations and taking him out of the tank for a little while. It might be just enough to throw him off and make him feel less territorial.
Keeping the water pristine with some extra stress coat or Fish Protector will help your guppies fins heal.
Good luck with your tank.
