Question on Yarn Dialogue Tree

why does this work

but this doesn’t?

In the second image, the command doesn’t get run and I can’t read it in the Event Editor

IIRC, commands need to have text after them, perhaps at least an empty line or spaces, I don’t remember.
One of the many defects of Yarn.