The behavior could be a number of things, but likely a water quality issue. How long has the aquarium been set up? What size is it? Any other tankmates? What are your readings for ammonia, nitrite and nitrate?
I would suggest doing a large (50% or more) water change in the meantime. Be sure to dechloriniate first and match the temperature.