There are several things that should not be soldered tight/flush against the board. The reason is almost always heating and expansion/contraction. LEDs, Crystals, some diodes - if they are tight against the board, when they contract it will pull on the leads, eventually damaging the internals. Big electrolytic capacitors have the same concern.