There are always interactions. Its a solid because the atoms are static due to ionic interactions. If you heat it up to 98C the interactions break and the atoms begin to move. Now its a liquid. Keep heating up to 883C and the interactions keeping the atoms close together are broken and atoms begin to leave the liquid. Its boiling and becoming a gas. Go back to basics, bonding.