How do mysql stored procedures pass variables correctly?

here cname exists as a variable in the first query statement, but as a string in the insert field statement below.
how does the following cname also exist as a variable?

Mar.16,2021

Menu