A one gallon is much too small and the fish are being poisoned from the ammonia that comes from their bodies. Check out this info on the tank size required for goldfish.

Barb