This is happening to me also. It started happening after I got a new computer. I'm using the same version of Photoshop as I did on my previous computer (Adobe Photoshop Version: 22.3.1) Operating System: Windows 10 64-bit Plus I loose all my actions and have to FIND them and reload them all each time this happens.
I have 22.4.2. Updated this week and what do you know, all preferences back to DEFAULT yet AGAIN! SO tired of resetting my preferences. What's going on Adobe? Seems this has been going on for years, what are we paying for? Not basics it seems.