Question: why do some ionic compounds have higher melting points than others?
Answer: It takes a lot of energy to overcome the strong electrostatic forces of attraction between oppositely charged ions, so ionic compounds have high melting and boiling points. But some are higher than others. The greater the charge on the ions, the stronger the forces holding them together.