Ayn Rand believed that the law of causality does not apply to all entities. Some entities do not have a cause and thus do not come into being or pass away, but are eternal, such as the universe as a whole.
Ayn Rand was an atheist. It was her greatest failing in my view. She had some good thoughts but could not come to grips with an eternal God. Too bad.