iPhone logs out of apps
Recently my iPhone (12 mini) has started to log out of apps (Twitter, Facebook, Instagram, LinkedIn, Whatsapp). They are mainly social media apps and logging in and out of Instagram is not a big deal. However, when I get logged out of my Whatsapp, I have to re-enter my phone number and lose my chat history if I have not backed up my chat history recently. I have updated my WhatsApp settings to make sure that a backup is made everyday, but this is not happening and my settings are also not saved, so sometimes it says that my WhatsApp never automatically makes a back up. WhatsApp is mainly my issue as I miss notifications due to this happening. It is happening multiple times a day (at least five times) and around two times a month. As other apps are also logging out I assume this is a problem with my iPhone and not with the apps itself. I have already updated my phone and apps but it keeps on happening.
iPhone 12 mini, iOS 16