I'd suggest you start out by trying software solutions first; it would be extremely frustrating to replace the screen yet again only to find the problem still there. Here are some things to try.
Safe mode will disable auto-loaded applications and run a minimum of services needed to run the phone. If the screen looks normal in safe mode, the problem is software and not the new screen.
How to activate safe mode on Google Pixel 7 Pro?
Restart the phone.
How to restart a Google Pixel 7 Pro?
Do a forced restart.
How to force a Google Pixel 7 Pro to restart?
You might also try a firmware update and/or restore.
Obviously, if none of the software solutions make any difference, then we're back to the screen as the probable source of the problem. Fortunately, iFixit sells only genuine Google parts, and all parts outside of batteries have a lifetime warranty. My experience with a warranty claim with them was very good, so I wouldn't hesitate to contact them about a replacement. You can reach their support group at email@example.com. They may even be able to help with diagnosing the issue if possible.