PS: Explored a few older threads, but times change quickly!
Based on Lua, with built in sprite and music editors makes things super easy and the community is awesome.
https://www.lexaloffle.com/pico-8.php
(I have no affiliation)
At 10 IMO kids still need lots of...real world play. Legos, snap circuits, science kits / experiments that happen IRL...a bike, scooter maybe ;)