Teaching may also be less pleasant in the social media and smartphone age, for reasons enumerated in The Coddling of the American Mind (a highly recommended book). There may also be a gender dynamic at work; today, it would be hard for me to recommend that guys go into teaching: https://jakeseliger.com/2014/09/08/why-dont-more-men-go-into....