iOS app logging out consistently

My phone is fine lately, although it had been logging me out every few days about a month ago. But my wife’s phone is very unreliable and causing routines and automations to not fire. We both have an iPhone 6s+ so the model is the same, but her app will just not stay signed in, so the presence never changes from where it was when it logs her out.