Either the touch screen is faulty or cracked or liquid damage near the touch screen connector of the phone.
open