1 sn Do not give him any greeting does not mean to insult the person. It means “do not greet the person as a fellow Christian” (which is impossible anyway since the opponents are not genuine believers in the author’s opinion).
2 sn Shares in his evil deeds. Giving a public greeting could be understood by an onlooker to suggest agreement with the (false) teaching of the opponents and is thus prohibited by John.