It’s the screen going bad. Is it a glass crack that you can feel by running a nail along it? If not it’s on the touch screen layer under the glass surface.
open