Mathematics is hard. who says otherwise has not proven a new theorem or tried to understand a substantial proof. It is not called a 'hard science' for nothing. Of course there are parts of mathematics which are easy and accessible but the entire field is hard.
Programming is hard. who says otherwise has not programmed something substantial. Yes, there are parts of programming which are easy (copy paste code from somebody else for example), but writing new code from scratch requires mathematical skills as well as experience. writing elegant new code is even an art. Yes, it is a language, but programming requires to understand every detail, every possible turn. Here is a way to organize levels of understanding and each subsequent one is substantially harder than the previous one:
a) being able to read it. b) being able to write about it c) being able to work with it d) being able to question or extend it e) being able to teach it f) being able to program it.
I'm a mathematician who does lots of programming, mostly
doing experiments. It happens almost daily that I believe to understand something, I program it and it does not work and finally, after some time, when things are working on the computer, I also start to understand where my misconceptions were.
The statement "programming is easy" is pure propaganda.