No solutions here, but I want to report that I've had the same problem. I've been trying to play Battlefield 6, but the game crashes without warning before long, so I don't have much time in the game before crashing. While running a game repair, the app would randomly shut down, although when reopening the app I didn't lose my scanning or download progress.
I tried uninstalling and immediately reinstalling the EA app, and I got the same result.
Just now I've tried other EA games which I've had installed - Star Wars: Battlefront II, Battlefield 2042, and Medal of Honor: Warfighter, but they have the same problem of shutting down after a few minutes. Interestingly, Battlefront and Medal of Honor both had pop-ups saying that the Origin client was shutting down, so there is definitely something going on with the EA app.
Update: the app seems to be working properly now. I just played Battlefield and Battlefront without the games crashing, as well as perform a scan and repair without the app crashing.