Because when a matter melts (or generally speaking, changes phases) its chemical structure does not change. By change of chemical structure I mean, reaction. When a matter melts it does not react with another one. It does not, give or take electrons to another matter or it does not share with them.