We bought a male Betta almost a year ago, and until a few days ago he's been a very active fish.
He usually comes up to the front of the tank when he's hungry, and will swim back and forth until you feed him, but he hasn't been very hungry lately, and has only eaten a few pellets (normally he would eat all day if you let him).
He has also been floating on his side for the past 2 or 3 days. I thought he was dead at first, but he ends up moving and swimming a bit if you lift the top off of his tank. He also randomly freaks out and zooms about the tank every now and then, but always goes back to floating on his side.
(We clean his tank regularly, and keep it at a decent temperature. He's in a 2 gallon tank.)
What could this be? Is he dying?