These crashes may be related to the crashes you've been seeing with Apex Legends as well. First I'd recommend disabling the Xbox game bar in Windows to see if that helps. Go to your Windows Settings, then click on Gaming. You should see an option there for the Game Bar. More @Wikipedia
Hover over any link to get a description of the article. Please note that search keywords are sometimes hidden within the full article and don't appear in the description or title.