He was baiting her. There was no other reason for his behavior right where she could see him. He was trying to get her to give him a command that he would have to follow in hopes Ron and Harry would pick up on it. It was clever. Remarkably clever, because it managed to get around her order. Technically, he wasn’t trying to communicate what had happened with her two friends. His efforts were focused on her.