Sources – Chapter C – Part 2 – Laws, Lawfulness and What Lies Between – The Splitting of the Red Sea
The Influence of the Stars on Events
2. However, the Creator, blessed be He, engraved yet another matter in these stars: that all the events that befall physical beings and those who attain them, after they have been prepared above, are also drawn down below through them, in the very form in which they must happen to them. For example, life, wealth, wisdom, offspring and all such matters are prepared above in the roots and are transferred below, into the branches, in the proper form, through the stars. This happens through known divisions, special groupings ordained for them, and known revolutions. All the events that befall physical beings of every kind were divided among them, and all physical beings were bound under their dominion according to their orders, to be renewed according to what flows from the celestial array, in accordance with the connection by which each and every person is bound to it.
3. All human beings, too, were subjected to this order, to be renewed according to what is drawn to them from the celestial array. However, it is possible for the outcome of the stars to be annulled by a power stronger and higher than them. On this basis [the Sages] said: "There is no mazal (constellation) for Israel" (Shabbat 156), for the power of His decree and influx, blessed be He, prevails over the power embedded in the influence of the celestial array, and the outcome will be according to the supernal influx and not according to the influence of the array.
Horoscope
4. However, the laws of this influence of the stars are also limited, according to what the supernal Wisdom decreed to be fitting. Some of its ways are known according to the orders of the [astral] aspects, and this is what the astrologers grasp. Yet not the whole truth of its orders is revealed in this; therefore the stargazers grasp only some of the future matters, and not completely – all the more so since their outcomes can be annulled, as I have explained. And about this our Sages, of blessed memory, said: "'From what (me'asher) [shall come upon you]' (Isaiah 47:13) – and not all that" (Bereishit Rabbah 85:2).
(Derech Hashem – Part 2, Chapter 5)
Lawfulness – Miracles
Miracles
6. Now He, blessed be His name, by His will changes the order of Creation whenever He wishes, and performs miracles and wonders as He desires, in various things, as He decrees to be fitting for the benefit of creation, according to the matter and according to the time.
And what is it that our Sages, of blessed memory, said: "The Holy One, blessed be He, made conditions with all the works of Creation"? Not that the Holy One, blessed be He, will not change anything from now on – for He certainly makes a complete change whenever He wishes. Rather, the matter is that at the time of Creation He showed and made known to all the roots of the creatures their nature and the truth of their existence, the purpose for which they were created, what they were destined to go through in their cycles, and what the end of their matter would be. And they grasped and knew that everything was moving toward the purpose of the true good, and they consented to the matter and rejoiced in it. And this is what our Sages, of blessed memory, said in the Midrash Aggadah: "All the works of Creation were created with their consent."
And when the Holy One, blessed be He, made known to them the truth of their nature and their law and the truth of all their cycles, He likewise showed them that part of what was required for their perfection was that those miracles would be performed through them for Israel, or for the righteous among them, at those times. This was said with regard to the supernal roots; and afterwards, in accordance with all this, things descended through the chain of descent and were established in physicality as befits them, and the overseers were appointed over them to maintain them in their natural law. And when the Holy One, blessed be He, wishes, He decrees upon these overseers, and they stand down from their function, and [things] change from their natural course according to the decree upon them.
And it is possible that the decree may reach them in various ways – meaning that it may come, for example, as a king's command to them, or as the rebuke of an angry ruler, as it is said: "He rebuked the Red Sea and it dried up" etc., and other such ways – all according to the matter in its time.
(Derech Hashem – Part 2, Chapter 5)
Translated from the Hebrew sources page "פרק ג’ -חלק ב’- חוקים וחוקיות ומה שבניהם-קריעת ים סוף" by Roni Ayalon-Hirsch.