Cables have an impedance in capacitance and resistance and inductance which are all proportional to length.
They
also have a characteristic impedance which is related to the way an electrical wavefront propagates through the cable. This however only becomes relevant at much higher frequencies than baseband audio** - where the cable length becomes significant compared to the electrical wavelength.
en.wikipedia.org
**It can become relevant for baseband audio - again when cable length becomes significant compared to the electrical wavelength. But that needs cables 100's of miles in length - it first became an issue in the early days of electrical signalling and telephony over long distances.