Why is the electron in an atom restricted to revolve around the nucleus at certain fixed distances?

In order to explain the atomic spectra Bohr - Sommerfeld model proposed that the electrons are restricted to revolve around the nucleus at certain fixed distances.