Mechanisms of decadal variability of the wind-driven ocean circulation