This is suspiciously sounding like old tank syndrome (OTS) or at the very least high nitrate levels.
Very basically OTS means either a gradual decline or a sudden crash in water parameters that usually results in the sudden death of most if not all your livestock.
This is normally happening when tanks are basically left with little changes over time be it over 6 months or 2 years, the result is the same, not enough gravel vac, watching nitrate levels (not just ammonia and nitrite), keeping an eye on ph and kh in both tank and tap water, filter maintenaces and possibly leaving too much food leftover to rot, decaying leaves and so on.
So once you see a marked difference between tank water and tap water parameters of around 0.5ppm or more then action should be taken such as a good gravel vac, large water change, do a big filter maintenance as well and these should help bring the tank back to norml conditions.
Possible causes of OTS can be of the following, not an exhaustive list but the general points -
Inadequate water changes.
Overstocked fish levels.
Dirty gravel.
Uneaten food.
Unwashed filters.
Dead fish/shrimps/snails.
Decaying plant matter.
Low GH or KH water supply.
High nitrate water supply.