Why is right variable in assert/1 function not unquoted?

Thank you for your answer!

Sorry, I’m not sure why it should not be unquoted…
I think variables in quote should occurs an error without being unquoted.

But right in above code is not unquoted. Why it does not occur any errors?