Why do cables have multiple grounds?
It all comes down to impedance of the data lines. Basically the lines have a low resistance, but this is very different from what we term impedance in this regard. 

Basically at high frequencies such as used in SATA and USB3.0 for example (and in fact really anything more than around 100+MHz) the electrical signals travelling down the cable start behaving more like electromagnetic waves being guided by the cable (transmission line). The parasitic capacitance and inductance act together to form an impedance to the signal. Because of the nature of waves discontinuities tend to cause reflections - for example if you fire a laser at an angle into a pane of glass, you can see that the laser beam has been reflected at points where the density changes (like from air to glass). In short this is basically what happens with high frequency signals (if you think about it a 2.5GHz signal from USB3.0 is basically the same as the RF band used by WiFi).

As an RF signal in a cable is travelling along, if it hits a mismatch in the impedance of the transmission line it is travelling in, some of the signal will reflect back towards the source. This is very bad as it means there is a loss in power (attenuation of the signal) and you can get distortion due to reflections bouncing back and fourth in the cable. To ensure this doesn't happen (or at least reduce the likelihood), we design all cabling, terminations, drivers, electronics, in that particular circuit to have the same characteristic impedance thus allowing the signal to travel from the driver to the receiver with minimal reflection.

To achieve this characteristic impedance we need two things, firstly the inductance in the cable, and secondly the capacitance between the cable and ground. These each present a complex impedance of opposite polarity and thus come together to form a real impedance - what value depends on the technology e.g. 100Ohm differential impedance is common, and 50Ohm single ended impedance. As such you need the wire and the ground to set up this impedance. Now you can't just have any old bit of ground wire, you need it set up so that the electric fields between the cables and the ground result in the correct capacitance. Furthermore, if you have a differential signal you need both the impedance of each wire as well as the differential impedance (between the two signal wires) to be a specific value.

In a PCB layout you have different technologies, but the predominant one is called "Microstrip". Basically between the ground plane and the PCB you have the PCB material which has dielectric properties thus forming the required capacitance. You then select the width of the trace to get the correct inductance to create your characteristic impedance.

For cables there are different methods of doing it. One example is Co-ax, where each signal wire has its own shield which acts as the ground plane. Due to symmetry it is very easy to work out the impedance of the cable and design something with the correct dimensions. However Co-ax is bulky, and it is hard to make very small coax cable, especially when you move to differential signals (twinax is a pain!). So instead what they do is use two cables (sometimes in a twisted pair arrangement for maximum coupling between the pairs) to carry your differential signal. But as has been mentioned in some applications you need more, you need the characteristic impedance to the ground as well as between the cables. So you need to also route a ground plane for the pair. There are different ways of doing this, but in the end it basically results in the need for carefully placed ground wires to act as the ground plane.

In SATA specifically they arrange the grounds to be either side of each signal pair (the one in the middle is shared) and by careful planning they reach the characteristic impedance.



Hopefully the about is understandable, it's actually quite a complex and vast field in electronic engineering.