Am I the only one finding it odd that the company who has triggered a global financial crisis is paying a fine to the US ???? The damage spread far outside US borders ! I would rather see this fine paid to a global organisazion, like the IMF (https://www.imf.org/external/np/exr/facts/finfac.htm).
RBS bought subprime mortgage backed securities - the same ones that were (mostly) created by Goldman[1].
RBS (along with most buyers) didn't realize that the AAA-rated securities they bought were actually subprime-backed (because of completely stupid rules by the ratings agencies, which Goldman exploited)
When people suddenly discovered what a disaster these were, RBS wrote down £5.9bn, and was forced to seek additional capital[2].
RBS was responsible for heir own fate of course. But Goldman sure made money out of it.
Goldman did not invent CDOs, and they did not create the CDOs RBS purchased. (Also, what actually doomed RBS was overpaying for ABN Amro, but that's neither here nor there.)