As usual, different string expansion is performed within different quotes (which is done by the shell).

Usually, there are two echo commands available: echo program (usually located at /bin/echo) and echo shell builtin (created for performance reasons). The behaviour of these two commands is almost the same, and you can ignore the differences (which can be seen in documentation for echo program (man echo) and for your shell (help echo)).