Minecraft is the safe recommendation, and it earns the spot for good reason.
The core loop is building, and there's no wrong way to play it. Creative mode removes all the pressure, while survival adds goals for kids who want direction. It also has one of the largest bodies of tutorials and community content of any game, so getting stuck is rarely permanent.
Minecraft.net explains the game far better than any summary can. If you're buying for an eleven-year-old and want one answer that will land, that's it.
If it doesn't click, look at other sandbox builders. The genre rewards the same instinct.