Peace and blessing Sister Ma'atress.
Yes, there is a science behind it. Our ancestors have given it several names. Our Kemetian ancestors had a word for this simple science, it is Meskhenet. That is what the West calls reciprocity, and India has called Karma.
The law, or rule if you will, of Meskhenet is comprised of several principles. You can read more about it in Brother Muata Ashby's teachings, particularly "The glorious Light Meditation" and "The teachings of Maati".
Even your name is part of the science behind this statement "It's just meant to be". The goddess Ma'at is mentioned in "The 11 laws of God", by The Honourable Ra Un Nefer Amen. I suggest you read it for introspective reflection and growth.
Stay blessed on your path to glory, beautiful Sister.
One.
~Ikoro