Yep. And that's also true on Android devices (though getting into a programming environment is often easier, or historically was easier, on them than with iOS/iPadOS devices). It's getting easier on iPadOS with Swift Playground (which has been around for a few years now) and other apps, but you still have to know about it and download it.
In the 70s/80s home computers dropped you into a programming environment immediately or a programming-like environment (the shell or command prompt). In the 90s this was less true, but it still wasn't a huge distance from launching to accessing a programming environment (and on Linux and BSDs you still typically started in the shell). In the 00s and 10s, on macOS/Windows/Linux you can still get to a programming environment or shell easily enough (and macOS and Linux generally come with a basic suite of programming tools like compilers and interpreters), but the "distance" for the user has been increasing. If you want even some common tools you have to download them instead of having them immediately available, or in macOS you have to know that there is a terminal which provides better access to the supplied development tools.
Mobile devices have always been behind on this, but they've become an increasingly common first computer for many which skews the relationship that people have with computers away from seeing them as tools to manipulate (via programming and scripts) to appliances. They have more in common with embedded systems like the Tivo or video game consoles than with PCs, providing users with a preset script on how to use them and not the more open-ended model of PCs.