This is something I have wondered about for a while but no one has ever been able to tell me. Maybe someone here will know, maybe someone has gone enough times or knows some locals. I always thought of fireworks to be for celebrations.
As far as I know, it is to celebrate the summer. It has become a cultural norm and something locals as well as tourists both greatly enjoy. Some shows are larger than others but each weekend is a celebration in the summer.