Good grief - he was three years old!
Of course he was taught, just as he was probably taught to put his hand over his heart when the Anthem played, or to say ‘please’ and ‘thank you’.
I remember being drilled from the earliest age on how to act in public. Most kids of that era were.
You misunderstand. She told him to. It was not in any way spontaneous.