Stabilizers function by providing a repulsive force between nanoparticles, which combats the natural tendency of these particles to aggregate due to van der Waals forces or other intermolecular forces. This repulsion can be achieved via various mechanisms such as electrostatic, steric, or electrosteric stabilization.