Hello.
I had a Betta do this to me as well. It is possibly a disease call Dropsy. It's not treatable because it wrecks the insides of your fish. But some signs of it are : lethargic, pine-coning of the scales (this is where the scales stick out like a pine cone), not coming up for air or not...