If APEX Legends is the ONLY game affected than the problem probably is with the game itself or the AMD driver is not fully compatible with that specific game.
Do you have the latest APEX legend patches installed?
Do you run it using Steam? if so make sure you have the latest version of Steam installed.
This gaming site gives 3 good troubleshooting tips on how to fix Legends 2021 from craashing in your PC: https://www.gamercamp.ca/3-ways-to-fix-apex-legends-crashing-mid-game/
NOTE: The YouTube video in the above link article is very good also on how to fix your crashinsg.