Some managers tend to be intimidated by competent, productive employees, viewing them as a threat. Any employees with brains and skill can have a target on their back. There is rampant but subtle age discrimination once you hit your late 40s, early 50s.
I couldn't agree more with @ZmqqaSF-3gde. This is our sad reality.