Gasping or breathing heavily could mean the water is short on O2. Also could indicate ammonia or some other poisoning as it would cause severe irritation to the gills. I really don't know though as it could be from a number of factors...best bet for the OP is to check the water params (exact ammonia, nitrite, nitrate) and post them here as the majority of fishy problems stem from bad water quality.