Electrostatic actuators function based on the principle of Coulomb's law, which states that the force between two charged bodies is proportional to the product of their charges and inversely proportional to the square of the distance between them. When a voltage is applied between electrodes, an electrostatic force is generated, causing mechanical movement of one or both electrodes.