君 means ruler,
お前 honourable one towards me,
貴様 worthy appearance.

How did these originally honorific terms of address become informal or even insulting?