Depolarization is caused by the rapid influx of positive sodium (Na⁺) ions, which makes the inside of the membrane positive and the outside temporarily negative relative to the adjacent resting regions.