Chosen Solution

I have a MacBook Air that shows distorted vertical lines and blocks on the screen when the hinge is opened and closed. I suspect that the screen cable may be bad since it only happens when opening the lid, and not when pressing around the LCD. Can anybody else give me some knowledge on this? Thanks in advance.

Your display is damaged not the cable! What is happening is the tension you are applying to the lid when you open it or close it causes the fine metal oxide deposits which are the wires that make your LCD work on the glass to break apart and then re-connect. Similar to how a piece if torn paper which have a bunch of lines drawn across can be joined together so they appear as they once were before the page was ripped. What likely happened is something heavy pressed on the lid or you gave the system a good bang. Here’s the needed guide MacBook Air 13" Mid 2013 Display Assembly Replacement and here’s the needed part MacBook Air 13" (Mid 2013-2017) Display Assembly