When a substance has a high temperature and is hot the molecules