Ocean currents are primarily driven by a combination of factors, including wind patterns, the rotation of the Earth (Coriolis effect), and the gravitational pull of the moon (which causes tides).
Wind patterns create surface currents, while Earth's rotation causes the deflection of these currents. The gravitational pull of the moon generates tidal currents, especially near coastal regions.
Thus, the primary causes of ocean currents are a combination of all of these factors.