I agree with SnappyLlama. NaOH reacts with carbon dioxide in the air to form sodium carbonate (soda ash), the same white, powdery stuff that forms on the top of CP soap sometimes. Sometimes it seems like this soda ash forms as if by magic and other times it doesn't, but here are some things that might cause more soda ash to form:
Large surface area of the lye solution that is exposed to air. (Fat containers with lots of air above the lye solution are not as good as skinny containers with less air. Once the container is capped, the lye will react with whatever CO2 that is trapped within the container, so less air in the container is better than more air.)
Air mixed into the lye solution when mixing it up. (Lots of agitation, say from a stick blender, will mix air into the lye solution. Stir thoroughly but gently to mix the lye and water, but not add as much air. edit: If you kept stirring and stirring, you could have kept mixing more and more CO2 into the solution and inadvertently added to the problem.)
Air in the water that you use to make your lye solution. (If you use distilled water in a jug, don't shake the jug before pouring the water for the lye solution. And I don't pour the water from a height into the container. A low, gentle, and slow pour will mix the least amount of air into the water.)
Just some ideas to consider....