Question: why do tinfoil barbs die?
Answer: The oppisite could have happened as well, i.e. your tank had a high PH , the fish got used to it and your tap has a very low PH and your water change caused a " PH crash", used up all of the buffering and the PH dropped quickly and drastically.