After they had been contacted by investigators over concerns the kid wanted to do a school shooting.
This is why red flag laws need to be a thing.
The buried lede-
The timeline the teen’s father provided to authorities would put the gun purchase months after authorities first contacted Gray and his family to investigate school shooting threats made online.