Watching it again, he was shown red card immediately and he walked off. His teammate went to greet him for saving the team even if it cost him a red card. He kept looking back to ascertain the situation and went back when he saw it was serious.
I don't understand people's agenda. They are forcing malice on the situation.