The differing scales are misleading. Certainly 4/6 > 5/8.
Yes, the drawing is confusing. .6667 > .625, but according to the drawing, the line segement representing 5/8 of the top line is longer than the line segment representing 4/6 of the bottom line.
Either the drawing was meant to decieve, or the person that wrote the math book is an idiot. Or possibly, both.
I think they are meant to be misleading. When using number lines, it’s specifically taught that they are not to scale, so students should not just try to “eyeball” a comparison like this. They’ve had similar visually misleading questions on the SAT for years.