I had a 2018 Challenger that did that. It was basically due to an internal delamination on the screen. Sometimes with everything off and looking at the top edge of the screen while it is black you can actually see the discoloration. Basically, it acts like a finger touching it. It is a warranty item but, in my case, it was no longer under warrantee. What I did was contacted the "Dodge Cares" folks about it. They had me take it to the local dealership and get it documented then get the info to them. In the end "Dodge Cares" contacted the dealership and covered the cost of replacing the head unit.
Hope this helps.
Hope this helps.