-First off, as Shikamaru suspected, Kawaki could be pulling an elaborate ruse and fooling all of Konoha about his intentions. If that is the case and he really is working undercover for Jigen, then that explains why he wasn’t brainwashed.
-On the other hand, Kawaki has a ninja tool body...