We are back from holidays and we notice many photos with strange vertical lines, see photos below. Can someone explain this optical effect to me, please? How can I avoid it in future?
The pictures were taken with a smartphone (Motorola Moto G5 Plus).

