It's an English saying for when you get lucky or several things happen which leads to something good happening.If you decide to randomly take a vacation to a city, at the same time another person you have never met also takes a vacation to the same city, and then one night while you are there you both decide to go to the same bar and meet for the first time, then you could say 'the stars aligned to have you two meet'.