Depending on the earth soil layers and rock layer above the confined aquifer determines the pH of the spring water and its alkalinity which is its ability to buffer acidity.