 According to the Skanda Purana, the whole world visited the Himalayas when Shiva was about to wed Parvati.This caused the earth to tip to one side.Shiva then requested Agastya to go to the southern region to restore the equilibrium.