As far as I can tell, fear of being shot is not the primary factor why students don't want to go to school. The article, for example, doesn't mention global warming / climate change (our planet burning) or AI (possible humanity ending). How incentivized would you be to spend your youth working hard for a future that might not exist?
And the idea of having to account for "high crime areas" as if it is a normal thing for a subset of the population to be dealing with guns on a regular basis in schools is a very American attitude.
What does this mean? Kids in high crime areas are still kids, you still have to count them when they get shot.
The harm of a school shooting is certainly not contained to the specific individuals who got shot either, which if one of these has happened near you you know. Everyone at that school and to some extent the entire city is affected socially and psychologically. They are a particularly powerful terrorism for this reason.