Maybe an analogy will help.
Think of light as a pool of water.
God created the pool of light, and it originally didn't "flow," it had no directionality, and so there were no shadows. "Light" had not been "separated" from the "darkness," yet. Then God made it so that it only flows in one...