Agreed - programming can be very challenging. Programming can be easy if the requirements are easy, but Software Engineering, like other disciplines, requires a broader mindset to be able to consider the tradeoffs involved when writing lines of code. maintainability, security, scalability, memory and runtime performance, readability, interfaces, extensibility, etc, etc, etc...
Sugarcoating the truth is doing a disservice to newcomers in the field because, frankly, it's setting up the wrong expectations. Any CS professor should understand that. They should communicate the reality that Programming has a spectrum of difficulty that depends on many factors, and while anyone can dip their toes and make something, it takes time, dedication and conviction to master.