Xbox One X freezes playing games

I purchased an Xbox One X off of eBay to repair and it has a problem I have never run into before. All physical games freeze the console’s video and audio while it is playing the game. So for example, if I boot up lego star wars, it will freeze on the opening star wars credits and display the credits while getting stuck on the sound bite. However, all games I download to play seem to be working just fine and have not frozen. Could this potentially be a disc drive issue? Or any ideas on this? Thanks