Learning to store values in variables, write "if else" and loops, and call subroutines is ridiculously simple.
This is equivalent to learning the letters of the alphabet. That won't make you a writer, though. Writing classes are about something different.
Learning a dozen frameworks, a hundred "gotchas" in your language of choice, security best practices, database interfaces, GUI libraries, IDE quirks, platform incompatibilities, version control and arcane build systems & toolchains is NOT simple, and I would challenge anyone to learn a modern commercial software dev process in less than 5 years.
I think you're making two major mistakes here. First of all, you're assuming that these things are intrinsic rather than accidental complications of current computing. Some people believe them to be the latter rather than the former. Second, even if this were the case for core computing functionality, there's still a large class of useful programs that does not necessitate the involvement of any such complications into the process of programming. Nobody is calling for turning the population of this world into a nation of low-level programmers by trade. There's a middle ground between that and current casual computer users that multiplies the productivity of computer users considerably.