Because the lights present the dimmer with a larger resistive load, the fan motor then just goes along for the ride so to speak. When the dimmer only has an inductive load from the fan motor alone it doesn't know what to do. If you read the package on a standard dimmer they are always rated for resistive loads only.