No moment from The Clone Wars will piss me off more than the writing of first minute of Season 7 Episode 1: The Bad Batch.
To kick off the episode, we have Rex saying the following:
"The droid army uses analytics to predict our strategy. The first time we use a tactic, it's very effective. The next, less so. In fact, the more we use a certain tactic, the less effective it becomes. They learn our tendencies and use that data against us. To counter them, we're constantly working out ways to vary our attack."
No shit Captain Rex Obvious. Is that not how literally every conflict/problem in the history of forever is addressed? Rex is a brilliant solider, there's no way he would speak to a Jedi Master like it's his first day alive. The whole interaction is just Rex acting like he's explaining some mind blowing concept, but it's actually just basic fundamentals of war.
AND THEN he goes onto say:
"The counterattacks are so specific, it's my strategy the droids know, my playbook."
At this point, we are years into the Clone War and Rex is a part of the high command of the 501st - one of the largest legions in the entire clone army. Rex has been beyond humble this ENTIRE time, and now he's like "Yeah, MY strategy is comprimised."
Dave, buddy, what were you on when you were writing these lines for Rex.
I know that this is what feeds into Rex beginning to think that Echo is still alive, but it has also been a pretty significant amount of time since Echo was blown up. Again, Rex is a smart solider. If "strategies" that he drew up with Echo were being used against him, don't you think he would have noticed much sooner? Like perhaps during Umbara??
Granted, we don't know when the Techno Union got ahold of Echo, but surely it wasn't too long he blew up or he would have been dead.
The icing on the cake here is when Cody says:
"My concern is that Rex is one of our best. If the droids can learn to defeat him, we may all be vulnerable."
I'm not going to deny that Rex was not one of the best men in the GAR, HOWEVER, I doubt anyone high command in the Separatist army was concerned about Rex, let alone any clone. Rex has never had this "I'm better than everyone" mindset before, why make that a character trait for one minute of script?