With preformatted text, why are some letters red and numbers blue?

Thank you again, @supermathie ! Now that I know this, I will explore more options in Select the programming language used in code blocks.