I keep finding paintballs in the backyard

I don't know where they're coming from but the other day I heard a noise that I thought was a nail gun but now I know it was a paintball gun.
I googled it and they are toxic to dogs. I'm so annoyed, why would someone be shooting that around houses anyway!