The answer to 'why is my ceiling fan sparking' is that a sparking ceiling fan is typically caused by a loose or damaged electrical connection. This can happen over time as the fan vibrates and the wiring connections become loose, or if the fan has been improperly installed.
Some common symptoms of a sparking ceiling fan include visible sparks or arcing when the fan is turned on, flickering lights, or a burning smell. If you notice any of these issues, it's important to turn off the power to the fan immediately and investigate the cause before continuing to use it.