Do all states of matter have thermal energy?