The melting points and boiling points of sodium, magnesium, and aluminum increase from sodium to aluminum because the number of delocalized electrons increases, making the metallic bonds stronger. As a result, more heat energy is needed to melt or boil aluminum than magnesium, and more heat is needed for magnesium than sodium since aluminum has the strongest metallic bonds due to the most delocalized electrons.