Little to add to the good answers already here.

Sounds like intercurrent GI illness and AMS.

Might not happen next time, but for all the good that Diamox and hydration do, the most important factor is more time to acclimatize.
Some people need one day, others a week. Highly individual.