Hello Kshatriya_Sandy,
Welcome to Microsoft Community.
I noticed that you shared some error logs, but the logs did not specifically point to what happened. I can only conclude that there may be some errors in your system.
Because of "Faulting module path: C:\Windows\SystemApps\MicrosoftWindows.Client.Core_cw5n1h2txyewy\Taskbar.View.dll" is a system file. I first recommend that you use the System File checker to check and repair corrupt system files that may be the cause of the problem. Please refer to the link:
Using System File Checker in Windows
This is a relatively simple repair method, perform the corresponding operation according to the prompt, after the repair is completed, please confirm whether your device still has any abnormal.
I noticed that the thread was posted on Windows/Windows 11 / Gaming, maybe you're having some problems actually playing the game? If the problem is not resolved, I hope you can describe the symptoms of your computer in detail.
There are other options that may work, such as trying to reset your system, (click on Start menu -- Settings -- System -- Restore -- initialize this computer) Reset can choose to keep your personal files, but just in case, I recommend you to make a backup in advance.
Best regards,
Mitchell - | Microsoft community support expert from MSFT