I understand that 'Guilt By Association' is kind of a sticky concept, but it's been a recurring theme in recent years where these public and mass shootings perpetrated by minors seem to have been directly preventable absent parental negligence or implicit support. For that reason, I'm glad to see the law beginning to recognize the problem and act.
To me, this is no different than an adult giving booze or drugs to minors, just significantly more catastrophic.