What makes stars so close to each other or far apart?
All the stars are moving--they have beeen moving since they formed out of the material of the Big Bang. Some are close together because gravity pulls them towards each other. Some just look like they are close because they line up with our point of view on Earth.
And over millions of years, some will close together and others move farther apart.