Why were firecrackers banned in most states?

Misuse. Firecrackers are noisy and mildly dangerous. They and fireworks have been responsible for many injuries and fires. As a matter of public safety, many municipalities have banned the personal use of these devices. Overall probably a good idea.