It was an eerie sight to see Cassian strangled by a droid that looked exactly like our beloved K-2, and even worse to hear a deep, hostile voice behind the eyes. LED. Compared to Alan Tudyk’s silly sarcasm in “Rogue One”, the droid KX is emotionless and has no personality. “Andor” takes place 5 years before the events of “Rogue One” and as far as he knows, Tudyk has set the record saying he won’t appear as a K-2 in “Andor”.
All this context creates a false security, and eventually returns to reality when we see the KX unit approach Cassian. It was a familiar shape, but a friend of this droid wasn’t.
Still, the Cassian suffocating KX unit is actually an interesting parallel to the extended classic roots of Cassian and K-2’s friendship, as it was presented in the 2017 one-scene comic. “Star Wars: Rogue One – Cassian & K-2SO Special.” In the special, Cassian lands on Wecacoe and engages a KX unit. When he’s stuck, Cassian can shut down the droid and then erase its internal memory – reprogramming the droid into the K-2 we know and love in “Rogue One.”
https://www.slashfilm.com/1062359/cassians-encounter-with-an-imperial-security-droid-in-andor-episode-7-is-a-far-cry-from-his-friendship-with-k-2so/ Cassian’s Encounter with Royal Security Droid In Andor Episode 7 is a far cry from his friendship with K-2SO