My kid at one point was admitted to the hospital for two weeks because said kid had lost so much weight. They inserted a gastric tube, and kid discovered that kid did not become nauseous when fed through the tube. We knew kid had ARFID, but this was ah “a-ha” moment for kid, because it showed kid irrefutable proof that the problem was not a physical issue with kid's gut. It was very clearly related to the experience of eating. Kid has subsequently learned to “eat through the nausea” as described in the post.
That's what this sounds like. There was likely an underlying physical cause of the nausea; that cause may or may not have resolved, but the nausea is now it's own thing. The OP indicates a series of consults with a behaviorist; I would imagine being screened for eating disorders is what that was about, but ARFID is not a common eating disorder, and may or may not have been considered.