I was getting the lines and glitches. They got worse after the last software update. I really tried to be kind, patient and understanding with Support reps who weren't seeing my issue (it wasn't happening as frequently when I first reported it). After 3x visits the the apple store, I took a break from contacting support for a while. I was turned away at the store and basically told there is nothing they could do because it "was a software issue." They reached this verdict because they changed my screen once and I still had the issues. I did a factory reset and I was still having the issues. This time though, the rep got to see it glitch with his own eyes while I was there. I was told to download an app on my phone and log my issues when they occurred.
Nothing happened for 2 months. I decided to reach out to chat support and told them how many times I've been given the runaround. I got to talk to a supervisor who was kind enough to offer me a replacement phone in the mail.
I've had my replacement going for 5 days now and I haven't seen a single line/glitch. I used my iCloud phone backup to set up the phone--something that the Apple Genius(...) store rep insisted was causing my issues even after I told him I had done a factory reset.
After a major headache (brand new phone with unexplained issues, and being treated like I was doing something wrong), I finally got a replacement iPhone 16 Pro Max that works properly.