I've noticed my fish do that when the pH drops to dangerous levels. So basically what the other folks are saying: your water parameters are hosed! Get a test kit and see where your pH, ammonia, nitrite, and nitrate levels are at.
I'd also get a kit that tests KH too ... low KH = wild pH swings. One time when I checked my pH and saw that it was really low, I checked the KH just for the heck of it and noticed it was like at 1 dH. No wonder the pH dropped so quickly, 'eh?