Most likely there was something in your tap water. Water companies occasionally overdose the water with chemicals. It happens.
never add tap water before treating tank. never. hopefully you use prime or safe. fish love to come the water inlet, if tank is not treated first they get a few mouth fulls of chlorine. gill dmg done.