I'm not sure what is wrong with your goldfish as they are not my specialty lol, we only had them for a few months before giving away and getting tropicals... .. I'm still learning about tropicals.
But i do believe Goldfish prefer a higher pH .. more alkaline., .. perhaps the drop in pH has stressed them.