Rather it considers there to be a transition from such things being "undefined" to their being "defined as energy, mass, etc."
"Undefined" is not "no energy, no mass." It is different than say the quantity 0. "Time" does not exist either, so there is no "before" and no "after."
Science does not have questions to ask of "undefined." As an example, take the case where the universe has shrunk to a single point, a singularity, and ask, "How big is that point?"
That is nonsense, of course.
So there was not nothing after all. There was something called undefined.
Is this something eternal? Is it always in existence, has no point of origin?