Re: Why does the EA app display "Games have been removed from your library"?
What I did was similar but a bit more involved. I lost most of my games when this issue cropped up. (May 2024?)
I restarted the app, then went to my account - via the EA app - the EA account web page. Went through all settings and refreshed the section with purchases (all time), and every other catagory just in case. Some of them require 2FA. Payment details for example.
Took about 15 mins, I took it slow and checked everything on the account page. All was OK.
Then restarted the app again and everything was back. It's never happened since.
So, in summary, it may well help/solve to go to your account page and click/check everything. Like email address, secondary address, payment, game purchases the lot.
Seems quite a few are still having this problem, so if you haven't done as above, give it a try. No guarantee it will work, but it did for me. I should add, I don't use game pass, purchase only, and don't link through Steam or any other platform for EA sold games.
The linking is probably not relevant to this issue, but just mentioned it on the off chance it gives anyone an idea to check other non EA app platforms.
Good luck to anyone getting this problem.