Hi! I just adopted my betta fish from someone I know, not from a store, and this betta had unfortunately been in a little fight with another betta on accident and had a bit of his fins torn off.

anyways, I took him home about 3 1/2 weeks ago and he was fine for 2 1/2 weeks, but a week ago, he suddenly stopped eating! I feed him betta pellets, and he used to like them a lot. I didn't over feed him or anything. He just stopped eating, and now his blue color is changing!!! His water is filtered, and cleaned regularly.
I have attached 2 photos, 1 photo of before his illness (the picture is a little dark, sorry), when I just got him, and one after, of how he is doing now. Please help diagnose him so I can find out how to treat him!! thanks!!
p.s. could this be Septicimia??