Triboelectric Effect, Induction, and Polarization
Toggle to view only the net excess charge rather than all microscopic protons and electrons.
When certain materials are rubbed together, friction forces electrons to break their bonds. The rubber balloon has a higher electron affinity than the wool sweater, meaning it "steals" electrons (-) and becomes negatively charged.
The wall is an insulator. Its electrons cannot flow freely. However, when the negative balloon approaches, the electrons shift slightly away from the balloon within their atoms.
This leaves the surface of the wall locally positive.
Because electrostatic force follows the inverse-square law, the closer positive surface of the wall pulls the balloon stronger than the farther negative interior repels it. Result: The balloon sticks to the neutral wall!