Good question! Switching forms doesn't change the behavior though. Just spent a half hour with accounting and our other NetSuite developer; they indicate this seems to have happened after the 2020.2 update. Prior to that they state the Tax Codes were never a problem.
Here's the annoying bit: if you edit an Invoice line item or add a line item, the Tax Code gets filled in correctly. It's only the freshly-transformed version of the Invoice that's missing all the Tax Codes, despite all other fields (item, description, quantity, custom pricing, et al) carrying over correctly.