That’s still not a safety issue. Letting the kid text mom at lunch break is not going to have any impact on what happens in a school shooting
Whether or not it's just in their head, the fact that the chance of your child being shot to death is high enough that the school runs practice drills is so disturbing that some parents need an extra security blanket.
Parents wanted their kids to have phones in school to treat their (the parents') anxiety. It doesn't do anything to stop a shooter or any other problem, but you can blast off a bunch of texts to your kid if you're worried about them.
It's a shame that so many parents basically traded their kids' social development for relief from some temporary bad feelings.