It could be as simple as they found a single way in dropped a randosomware and left. Never covered their tracks, used a VPN and so the IP address went straight to their address.
Where teens fall down is their own overconfidence / arrogance / hubris / doing things impulsively, or generally just not considering (or possibly even comprehending) the full impact or risk of stuff they are doing. Like, understanding the technical side really well, but with a severely impaired frontal lobe.
So I feel it's a bit of a disservice to say it's "kids doing easy hacks". Without extra context we don't know what exploits they used or what they discovered. Could've been something easy and well known, could've discovered something novel.
I think the 17yo in question was indeed arrogant and I don't agree with their politics and I think it's unfortunate they've been indoctrinated by the right wing, but I would argue that they're probably pretty technically competent and motivated and I hope later on in life it serves them well and they make a whitehat career out of it.
Basically provide a system interpreter for LLM to run all hack functions on and off you go.
But yeah, script kiddies learn their skills online, same as it's always been.