10gal, thats a good size, good choice, Quagar will be happy to read that
The tank temp s/b around 76 to 78F, 80 is only for breeding and fry.
But that is likely not the issue with your betta. Water, then make sure there is no body marks that look like bacteria infection.
Use a flashlight and look for 'rust spots', called velvet, on his head or body. Is fairly common in bettas and can be treated sucessfully if you diagnose and treat earyly enough.