What is so mystifying about this?
Doing this:
"cat << EOL
line one
line two
EOL"
Would be the same as this:
"cat < file"
That is if 'file' contained this:
"line one
line two"
This doesn't work with the echo command because it does not use stdin like cat does.