The answer to 'why is my switch tripping breaker' is that there is likely an electrical issue causing too much current flow, which is triggering the circuit breaker to trip as a safety measure. This could be due to a short circuit, overloaded circuit, or faulty switch or wiring.
Some common causes include a short in the switch or wiring, too many devices plugged into the same circuit, a malfunctioning switch, or a problem with the circuit breaker itself. Symptoms may include the switch repeatedly tripping the breaker, lights flickering, or buzzing or sparking from the switch.