Origins of the complex motion of advancing surfactant solutions