It is the principle of independent assortment
the worker ants lay eggs without mating but the worker ants dont have sperm cells tho