TEC routes are inconsistent. Sometimes we get them, like “SCTM27,” and other times it comes across as direct. I think it depends on if you filed and got TEC or if you just called ground, "IFR TEC to [some airport]. I flew KSMO-KOXR recently and FlightAware says the route was SCTM25, which is correct. However, tons of other people fly the route and FlightAware shows it direct although they’re presumably flying SCTM25 too. In my case, I used DUATS because I was actually going KSMO-KOXR-KSBA-KBFL and figured I’d do it all at once.
Regarding your other problem, we gets the other codes in a variety of different formats. When filing IFR, some people use IATA codes, some people use 4-digit ICAO codes, and some people slap a “K” on an IATA code and it becomes “KHNL” instead of “PHNL,” for example. We’re looking to acquire an IATA/ICAO code database so that we can correctly do the conversions since we’re aware of the problem.
So, to answer your question, it’s an error in the data and in the software and we’re aware of it and hoping to fix it soon.