Consider that in a solid phase the molecules are closer toguether in comparisson with the other phases (gas or liquid). It means that the attractive forces between the molecules in a solid substance are strongest, related to the other phases.
Hence, the substance in the solid phase has the strongest attractive forces between molecules.