This is due to the loose terminal connections. If the connections are not tight and secure, they would eventually melt. Again, due to the higher resistance of heat, the negative battery cable tends to melt.