Dimmers will typically use a triac which cuts up the sinusoidal waveform. It doesnt actually lower the amplitude per se, but it limits the fraction of the time the waveform is on. Kinda like this. This means that a lot of the time the led isnt gettingas much or any power. The average power will be lower, and if the LED driving circuitry isnt designed to compensate for this, the LED will flicker.
Clarification on triacs: they get turned on a certain fraction of the way into the cycle. Triacs will stay on until the voltage across them is 0. Conveniently the zero-crossing of the AC wave (when the wall voltage crosses zero to start foing negative or from negative to positive) does just that.