@Eric B In the sandbox and it's connected to Avalara. When a sales order is initially created and saved, the taxes are being added by Avalara. There is an afterSubmit script that runs, adding any required line items based on what was on the initial order when created. It's after the script adds these line items, Avalara is not making a tax call again and updating the taxes on the order.
It's looking like the bundle only runs if the general context is from a user in the UI and not from any server side processes like an afterSubmit script. The afterSubmit script runs first before the Avalara script runs based on the order in the scripted records page.