The foreign debt of the Socialist Republic of Romania were loans made by Socialist Republic of Romania under Nicolae Ceaușescu from international creditors denominated in hard currencies. These loans were used to buy technology, equipment and raw materials needed for the industrialization of the country.
The Socialist Republic of Romania could not afford on its own to purchase the technology, equipment, and raw materials necessary for the country to industrialize
The context states that the Socialist Republic of Romania accumulated foreign debt because it sought loans to purchase the technology and other materials necessary for it to industrialize, so it could not afford to purchase those things on its own. The computer likely doesn't understand that loans are used to buy things that otherwise could not be afforded.