There is a theory about tonogenesis for the Chinese language, thus Chinese had once a more complex syllable-structure and no tones. In the course of time, the syllable structure became less complex and tones emerged to compensate this loss.
I am not sure about the other way, the loss of tones. For instance, I read a short notion about old Greek being a language that features pitch accent, if am right pitch accent is the alteration of the frequency, is this similar to tone?