The quantum harmonic oscillator has played central role of almost every field of physics: quantum field theory, particle physics, quantum mechanics, etc.
I want to know what inspired people through the usage of quantum harmonic oscillator? When did people first realize the power of the quantum harmonic oscillator? I.e., which was the question they were trying to justify? Newton's law of gravity and Coulomb's electronic interaction were written as $\propto\frac{1}{r^2}$, but the interaction strength for the harmonic oscillator is $\propto r^2$.
Surely electronic devices and electrons in molecular orbits might be the inspiration, but how did they generalize such structure, the quantum harmonic oscillator, into so many subjects of physics?