I think although we only see straight lines there is in fact a grid of connections
So the parallel visible threads that you see are connected by invisible short threads
Those work like springs so they lift up the parallel thread
See height field or look at springs in the example section on the website