Two spellings of a familiar borrowed word
The farewell chau is an adaptation of Italian ciao, and this spelling is particularly associated with several South American Spanish varieties. You may encounter chao as well. Unlike the Italian original, which can serve at both ends of a conversation, the Spanish borrowing is primarily a farewell. That makes it unsuitable as a default greeting when you first approach a stall or enter a shop.
When the next meeting is already arranged
When a guide has arranged to collect you tomorrow, hasta mañana makes the intended meeting time explicit. In contrast, a more general farewell leaves the timing open. This distinction is especially handy when travelling with organised activities, where you may be saying goodbye to the same people several times. Choose the shorter expression if you are simply finishing a conversation without any definite plans.
Language choice beyond Spanish
Quechua and Aymara have official status in the areas where they predominate, along with other Indigenous languages under the same principle. Quechua itself encompasses multiple varieties, so it is not appropriate to assume that a single phrase is identical across all communities. In a community where another language is preferred, asking a local speaker how to take leave respectfully is a better approach than guessing.