Curious about what we're currently doing about bots? Check out the latest updates from staff in this thread.
Welcome to Smogon! Take a moment to read the Introduction to Smogon for a run-down on everything Smogon, and make sure you take some time to read the global rules.
So this appears to be a visual bug, if ditto transforms into a tera'd pokemon in gen 9 randoms battles, it shows the tera type, but it actually has the base type(s). Turn 16 shows the example.
https://replay.pokemonshowdown.com/gen9randombattle-1750297697-9pa97tmkbgugfs09vqqz873b4hh46ompw