What causes freshwater to flow downhill toward the ocean?