Seems fair to me but i don't think Cody fought that different against TJ than he did vs Cruz.
Cruz verbally slaughtered Cody and Cody was about to go Dom's room and fight with him but came fight night he looked calm and collected to many people in the fight.He has a tendency to drop his left hand and doesn't move his head as much as he should during exchanges. It's a lot easier said than done to fix a hole like that. Even Cruz stunned him a few times for those flaws.
This is Cody's face after the Cruz fight.Cruz is good but his striking is terrible, Cody slipped and countered his big loopy punches. TJ is a much, much tighter striker, it's a very different fight. Cody is a right hook with a left hook setup, throws them the same every time, he's really good at that combo, but he's never going to top an elite striker with that.TJ is a much harder guy to counter and is excellent when leading and dictating the fight. It allows him to play to his strengths. Cruz, on the other hand, seems to excel most when he gets someone chasing him. I think it's a stylistic difference first and foremost.
Cruz and Dillashaw aren't dissimilar, both enjoy their stance switches and feint at an alarming frequency, but Cruz never engages in the pocket the way TJ does. He's okay with his opponent chasing him, but he invariably either angles away after a counter or two or shoots in. Cruz is a unique fighter but he's also one of the stronger adherents of "all the way in or all the way out", because his unorthodox form serves well to enable his long-range game (jabs, weird straight-arm hooks, long uppercuts, shifting to cover distance) and that long-range game draws an opponent in close for his excellent takedown game, but his loopy form and preference for shifting as he strikes is easily exploited by a tighter boxer when he sticks around in the pocket for long enough.
Dillashaw is far more fearless in engaging in the pocket because his skills are so much better, offensively and defensively. When he wants to, he can stick to a stance and sit down on strikes to gain respect, and he's defensively sharp with his head movement when in close. Against Barao, he didn't just go full-Cruz, keeping Barao turning and exiting on angles, but waded into the pocket when he was confident that Barao couldn't hurt him. Where Garbrandt and Cruz are opposite ends of a spectrum (where Garbrandt represents fundamental soundness in the pocket and putting power into his blows, and Cruz represents prodigious control of angles and creativity at range), Dillashaw nicely plays a middle ground with the best aspects of both.
Garbrandt was able to beat Cruz to the punch
every time, and he was able to flashily avoid many of Cruz's punches, because he gameplanned to force Cruz into a range where Cruz could access none of the benefits of his style, and could only eat the brunt of his bad habits. He kept Cruz from taking and leaving at angles with sound boxing footwork and he was able to defend the takedowns of Cruz, and he forced Cruz into trades where the crisper boxer will beat the weirder boxer.
Forcing TJ into trades is tough, and Cody wasn't guaranteed to win because TJ isn't terribly vulnerable in the pocket. Not only could TJ kick at range to keep himself out of harm's way (against Cody's mostly pocket-boxing arsenal), he was excellent in defending himself when Cody rushed at him (where Cruz wasn't), and found an opening in the pocket that he was equipped to exploit (which Cruz wasn't). The first fight gave Dillashaw the opportunity to read the approach of Garbrandt that way, safely taking the angle in the pocket (where Cruz wasn't equipped to) and finding the southpaw right hook, and Dillashaw just took advantage of the same liabilities in Garbrandt's aggression at 227.