In
most cases, "celebratory gunfire" is harmless. In some cases though, people end up injured or dead - there's a decent sized list on Wikipedia [1]. The key issue is, you only have "terminal velocity" at play when shooting up
straight at 90 degrees in the air. The more "sideways" you get from that, the more energy will be kept during the fall.
[1]: https://en.wikipedia.org/wiki/Celebratory_gunfire