Without water, the molecules of ethanoic acid do not disassociate to form hydrogen ions. Without hydrogen ions, ethanoic acid does not shows acidity
With the presence of water, the molecules of ethanoic acid disassociate and form hydrogen ions. With the presence of hydrogen ions, ethanoic acid shows acidity