I think that depends on the city/neighborhood. We heard fireworks pretty regularly throughout the year when we lived in San Jose. And they became more frequent after the Flyod protests.
On the flip side, we heard far more gunshots than fireworks when we lived in Kansas City.
I live in Chicago. We have fireworks year round, some neighborhoods more often than others.
Usually you will hear fireworks far more frequently than you hear gunshots.