As a proud owner of two kids and as a former kid myself: their prefrontal cortex is still developing. Either they cannot stop themselves or they don’t notice the danger or don’t believe it applies to them. Kids will happily walk into traffic without realizing they’re in any danger at a much older age than it would seem reasonable.
I think this is one of the reasons cigarette companies keep getting caught marketing to kids, as if they wait until people have more ability to reason and more agency, then they would decide to not start smoking. It’s almost as if they are preying on that weakened mental state to build a pipeline of lifelong customers.