Criticism may not be agreeable, but it is necessary. It fulfils the same function as pain in the human body. It calls attention to an unhealthy state of things.
The human young must learn to perceive these affordances, in some degree at least, but the young of some animals do not have time to learn the ones that are crucial for survival.