Good questions. I assume this happens because of unthinking “zero tolerance” type rules. And guns, even toy guns, are considered evil.
Now if he brought condoms to school, and talked about being gay, I wonder what the reaction of school officials would have been????
"Good work, kid! You're just in time for the sex ed class!"