Sri Lanka’s economic crisis resulted largely from excessive borrowing on projects that did not generate revenue.