The economic crisis in Sri Lanka was caused by a combination of factors, including a decline in tourism, a global shortage of essential goods, and a loss of foreign exchange reserves.