iphone – Why does the Restore screen keep happening?

Over the life of my iPhone XR (a bit over 2 years), today is the 3rd time that I was greeted with a Restore screen.

In both of the two previous instances I was able to recover any data. I doubt today will be different.

Why is this happening to the phone and how can I prevent it from happening again?