Origin of long-range azimuthal correlations in hadronic collisions