The technique of algebraic computation was known and was developed in India in earlier times. From the 13th century onwards, India was subject to invasions from the Arabs and other Islamised communities like the Turks and Afghans.
Along with these invader: came chroniclers and critics like Al-beruni who studied Indian society and polity.
The Indian system of mathematics could no have escaped their attention. It was also the age of the Islamic Renaissance and the Arabs generally improved upon the arts and sciences that they imbibed from the land they overran during their great Jehad.
The system of mathematics they observed in India was adapted by them and given the name 'Al-Jabr' meaning 'the reunion of broken parts'. 'Al' means 'The' & 'Jabr' mean 'reunion'.
This name given by the Arabs indicates that they took it from an external source and amalgamated it with their concepts about mathematics.