It’s the display. iPhone 7 and up don’t have a physical home button so in the instance that you connect the flex cable that runs the home button you can run into this issue. Doesn’t happen all the time but with some after market displays the button isn’t coded properly. Meaning your phone just can’t process the fact that you have a home button and the software never loads.