If you have a new pool, or had it relined recently, this could be the cause of the pH rise as well as what Chemgeek mentioned. You will have to keep adding muriatic acid until the pool or lining stops leaching out calcium salts.

Hope this helps.

Pat