Before that, people probably drank beer, spirits, or soda. But when it became more well known that these things are not healthy, people began to desire plain water instead, and everybody were used to the idea of buying drinks at the store, so bottled plain water appeared.