Nanomicelles are formed through the process of self-assembly. When amphiphilic molecules are introduced into water, they spontaneously aggregate to minimize the free energy of the system. The hydrophobic tails cluster together to avoid water, while the hydrophilic heads interact with the aqueous environment, resulting in the formation of micelles. This self-assembly is driven by the hydrophobic effect and van der Waals forces.