My guess is he was told etiquette required him to shake with one hand, and to not make a mistake he put his other hand in his pocket and unwittingly came across as rude.