The dog didn’t actually seem that confounded, though, as he immediately ran right to where he could see the man, stood there for a few seconds thinking Why is Friend crouched down? and then ran over to try and get him to play.
(Also, if it were actually a trick for his dog, he wouldn’t have been filming it, unless the dog wanted to see re-runs of it later. I think the dog was there for us.)