From what I understand, you are asking why the drawing at a specific location (the red marks) changes when you change the scale.
Except for the first point of your line and under very specific scales - that would be different for each of your line -, it is not possible.
As the scale changes, the distance on screen between two points of the line changes (zooming out, points appear closer to each others on the screen; zooming in, points appear farther away from each others on the screen). The style is expressed in millimeters, so the first dash is always 10 mm long, followed by 2mm of white space. If you points are displayed, on the screen, 10mm from each others, you will see a solid black line. If they are 10+2+10 mm away from each others, you will see a dash-space-dash. If they are 10+2+5 mm away from each others, you will see a dash-space-HALF dash. This distance between the points changes as you zoom in and out.
So, keeping this example, if you points are always more than 10mm away from each others, the line symbol touching the 1st point will always be a complete dash. If the distance is a multiple of 10+2, the symbol at the 2nd point will always be a space. If the distance is 10 plus a multiple of (10+2), the symbol at the 2nd point will always be the end of a dash.
Since all your points are likely at different distances from each others - both on grounds and on the screen -, the symbol drawn at the 2nd (and more) points will also be different as you zoom in/out.
You can see this in your screenshots as the number of dash changes with the scale. Moreover, if you are not drawing one but two connected lines, this computation is done independently on each line and the end result may LOOK like a single line, with a dash up to twice as long as a dash length... and there is nothing you can do about it.