Quantum physics simply explains the quantization of any thing, i.e,that thing can’t
exist independently due to its instability. It
occurs in packets or bundles. for example mass
is quantized because of short range force
between two quarks. nucleons and electrons
can’t be broken due to this strong force.
Similarly the charge is quantized.