Stochastic heating of dust particles in complex plasmas as an energetic instability of a harmonic oscillator with random frequency