@Marlon Anthony DirectX 12 has nothing to do with the game (PES 2021) since it's using DirectX 11 API. Your event viewer log suggests that you have some access violation in memory. It can often happen when you either have faulty memory (RAM) or corrupted drivers. You could try scanning and fixing the system files.
To run
System File Checker (SFC), follow these steps:
In the search box on the taskbar, type
command prompt, press and hold (or right-click)
Command Prompt, then select
Run as administrator >
Yes.
At the command prompt, type
sfc /scannow (note the space between sfc and the /). Scanning will take a few minutes.
If SFC finds corrupted files and replaces them, restart your PC and check if the issue persists.
Let me know if it fixes your issue. You can PM me if you have any doubts or need more workarounds.