This is a simulation of bacterial cells performing "run and tumbling" behaviour for chemotaxis. Because the resource gradient is noisy, cells benefit from sticking to one another. This collective behavior helps them to better navigate and find resources in their environment, increasing their chances of reproduction (at the peak). The stickiness is an evolving property that, as you can see if you wait long enough, evolved to higher values.