OHHH yeah that was it
Sorry for your loss bud, i would recommend aquariums salt next time if you can get your hands on some
It can help with betta fin-rot, make sure to never use it on scale-less fish ( like corydoras and others ) since it can harm them, i learned that the hard way