Now why?! It’s a little baffling. But, like any mathematical curiousity, it is made simple by breaking things down into constituent parts. The parts of the pieces where the rules are applied directly is at the joints/crossroads, so let’s try to categorize them:
[Below here there are spoilers, beware]
Going from left to right:
Two: There are many joints with two lines attached to them, but they have to be at corners, not like I’ve drawn it above. When you’re drawing the continuous line, you come in one way and go out another.
Three: If there are three lines attached to a joint, it must mean that it is an endpoint. See what I mean? Since you can’t come in to an intersection more than you go out, and vice versa, then that means you need to stop in the intersection. This will be made clearer when we look at four.
Four: Since there is an even number of lines, you can go in twice and go out twice.
Now, let’s number the joints in our Tetris shapes:
See? Only the top two shapes (I wish I had names for them) have exactly two endpoints, the points labeled with a 3. All the other pieces have more than two, and if we’re trying to draw a continuous line you can’t really stop or start more than twice, can you?