I think the latter manager is a somewhat common example of a poor engineer who escapes engineering by moving to management, but then also makes a poor product/people manager to.
Not that you have to be good at one to be good at the other, but some people just aren't good at either.