It is an executive communiqué [1]. There is no treaty. "One China" is based on a statement of convenience. It could literally be reversed with a tweet.
What isn't just buttered-up memos are the Taiwan Relations Act [2] and Taiwan Travel Act [3]. Unlike the joint communiqué, these are U.S. law.
Lots of Americans live in Taiwan. Taiwan hosts scores of American-made military assets defending it from Beijing. And high-ranking Americans are almost constantly in Taiwan. If Beijing attacked Taiwan, these would be among the collateral damage.
> say America is sending troops to an internal conflict in China
Everyone says everything when war breaks out. If Beijing blew up a bunch of Taiwanese assets, taking out a handful of Americans in the process, I see no obstacle to strong political support in America to intervene.
[1] https://en.wikipedia.org/wiki/Shanghai_Communiqué