You have practiced critical and analytical thinking for years - mathematics and theories on the university level - so it should not surprise anyone that you find it easy enough to learn how to program.
You forget that important element when you jump to a conclusion. Your anecdote actually proves the opposite point, the point brought forward by Oberon_command: programming is so much more than theory, syntax and typing. It amounts to 20 % roughly speaking. The last 80 % is practical experience where critical thinking, problem solving, creativity and an analytical mindset is applied to each and every programming problem being undertaken.
Programming is much like modern mathematics where the real learning is achieved by doing (20 % formal knowledge, 80 % practice).