Previously, I was trying to understand why $\ce{Al2O3}$ has a lower melting point than MgO. An answer on quora said
Do not confuse the character of the bond between the metal and oxygen with the bonds between molecules in the compound. The polar character of the bonds between aluminum and oxygen is indeed less than between magnesium and oxygen but this describes the energy needed to separate the metal from oxygen. When a solid melts it doesn’t break down the bonds between oxygen and aluminum or magnesium. The intermolecular bonds (that is bonds between one $\ce{Al2O3}$ and another $\ce{Al2O3}$) are in fact weaker than the bonds between two magnesium oxide molecules. This results in the greater melting point of magnesium oxide in spite of the less covalent character of the bonds within the molecule.
But if $\ce{Al2O3}$ is ionic and forms a giant lattice, which bonds that are "between one $\ce{Al2O3}$ and another $\ce{Al2O3}$" are broken?