> less distractions and configuration related busywork.
The opposite IME, a lot of the userland on MacOS is very old mixture of BSD from back when Mach/NextStep inherited FreeBSD userland, and old bits of GNU that got stuck during the GPLv3 transition, some of it is new, it's a bit of a Frankenstein... configuring it is a pain because Apple tend to steamroller over everything on every OS update. Installing Xcode is supposed to be the native way to get GCC etc but -very long chain of expletives- (see internet), and there's no built in package manager so people end up reaching for homebrew, with mixed success that often ends up broken or undone because (see OS updates). Generally compared to Linux there are always more steps required on Mac, and there is set of strategies and random scripts floating around on the internet that are constantly evolving in response to every turn Apple makes. When someone is new and trying to learn C this is all a huge source of confusion and distraction, they probably want to try follow instructions from a variety of sources of learning material many that will assume a modern GNU userland and ability to easily acquire libraries via apt/yum/pac install etc... Mac is very much a harder path.
Source: I have to support people doing development on Linux/Windows/MacOS, Windows is easy now since WSL, MacOS users are always hitting roadblocks created by Apple, or due to CLI tools missing expected features, or CLI tools with obscure bugs from literally 15 years ago, it's a constant fight (yes this post is my way of venting if you hadn't figured that out yet).
I suppose it does depend ob what you mean by "programming" and how far that slips into "development" and what type of development, and what type of learning material you are using, if it's really unassuming, then I'm sure learning C on a mac will be perfectly fine. I've written simple C programs back in the OS X 10.6 days, it was fine, I was keeping it super abstract or Apple specific. But these days the wider you reach the more you are going to hit content that is just going to be very awkward to follow on MacOS for a beginner. On the flip side if the learner is happy to lean into the Apple specific development world then I guess it makes no difference, although I wouldn't recommend it, especially not for C.