Screen Fades After a While using Replacement Screen

I have an iPhone 11 Pro Max that I just replaced a cracked screen on. The phone boots fine and will work no problem for a few minutes but then the screen will eventually fade to black and won't respond until I give it a hard restart (audio will continue in the background until this happens). Any ideas why?

crwdns2934089:0crwdne2934089:0 crwdns2934093:0crwdne2934093:0

crwdns2934109:0crwdne2934109:0

crwdns2889612:0crwdne2889612:0 1
crwdns2934285:0crwdne2934285:0