Goldfish are very messy and produce a lot of waste. I suspect water quality as the culprit.
What size is the tank?
How long, and how, did you cycle it?
I do not understand as you say you had 2 goldfish, cycled the tank, then you say you brought one fish home. I am assuming you did not use these 2 fish to cycle the tank? :-?