Engineering skills decay with time and even the most technical manager will be out of touch compared to someone who spend 100% of their time on code. They also have the pressure of the buck stopping with them and not having to deal with the tech debt fallout which creates an incentive to just hack things. Some will avoid this but most won't.
>presumably one who attained this position because they were or are a good engineer
Why do you presume this? Management is a very different skill set than engineering. The best engineers having to become managers to advance their careers is an anti-pattern which most modern tech companies avoid. Managers thus tend to be average engineers who are good at people and process.