Because it ends the script block, of course.
Duh, what's so hard about that?
Because if you have script that generates script, you'll find
yourself caught out if you're not careful. For example, you can't say
in a script block because the HTML parser will see the
and conclude that your script block is over.
In other words, the script ...