JS and JSX are isomorphic (in the mathematical sense) hence why JSX is considered just syntactic sugar.
JS and TS aren't isomorphic (there's no inverse morphism once you go TS->JS that can bring the resulting JS back to the original TS) hence why TS is a different language (even if a superset of and compiled to JS).