There is something to be said for the effort they made. The wheels can be switched from 24 to 26, and the frame has a few adjustments to lengthen it and correct the geometry for taller riders.
Unless things have changed since I last rode a mountain bike, 26 is pretty common on the trails. You could maybe start at age eight and lengthen the bike around 11-12 depending the height of the rider. It’s not inconceivable they could ride it into their teens. I think the harder part with children on ebikes is handling the weight.
The young one would need to be rather proficient on two wheels already for me to consider an ebike at all though. Even if I could expect six years out it, it’d be damn annoying to pull the trigger and see it parked after a year.