Why are the edges of the screen on my iPhone flickering?

I have an iPhone 4s. It just started doing this today…

There must be some problem with the display's connector. If it's under warranty (less than a year old, or if you have Apple Care), then bring it to an Apple store and they will fix it. Otherwise, just hope against hope that it doesn't get worse.