Coding is not easy - past efforts at trying to get people to learn it in disadvantaged areas (largely failures) seem to confirm that's the case.
There's a weird thing with the way developers often talk about their craft, though -- many of them say that it's "easy". Easy for you, maybe, lol. If that was really true, they wouldn't be able to command such high salaries.
Maybe some of it is motivated by a sense of humility, but it often comes across as "this is so easy, why can't you figure it out, dummy?", which I don't think is really a great way of going about it. It's a tone thing, really.
Anyone who spent enough time to get proficient at programming could probably take more pride in their work and be more confident about it. Devs need to learn how to own up to their own work more, imo. My 2 cents.