How are the tax and shipping rules set up?
normally, this happens if you use the Taxable total in the shipping calculation, if you include the tax in the shipping, the taxable total changes once the shipping is applied, so tax needs to be recalculated. once tax is recalculated, the taxable total has changed so shipping needs to be recalculated and so on in an endless loop