Default What causes loss of root access?

I rooted my XT912 (JB 4.1.2) using Razr Blade. A few weeks later I had it flashed to work on PagePlus. The flash process did not affect root. Some time after that, with no changes other than installing a few apps, I lost root. Rerooted and now fine again but curious what could have caused loss of root.

Sent from my Nexus 7 using xda app-developers app