Electronics Repair Questions? Ask an Electronics Technician
What sort of climate are you located in?
There may be some condensation inside the lens.
Please attach some photos of the distortion so I may review.
It is unlikely to be a cable problem if it works ok at certain times.
Could you try adjusting the camera slightly, or move it away from direct sunlight and let me know if it has an improved picture all day long?