I believe that Texas has an “Under cover of darkness” law for that reason.
This is very similar to an altercation in Jacksonville FL 20+ years ago. A carload of teens were riding around shooting at picture windows with slingshots. An off duty navy chief thought the bang and the broken glass was from a gun and responded in kind. One of the teens was killed as the homeowner ran out to the street and fired shots at the car which was fleeing the scene. The court acquitted the homeowner. But his career was over at that point.