They may look lined up, but they’re probably at vastly varying distances.
But being in the same gravity-bound cluster, they’re probably just as close together distance-wise as well.