It's exactly those managers that are the problem. They're incompetent and not needed for self-managed agile teams. So they keep rotating developers to safeguard their positions.
Meanwhile those managers are getting the salaries that better be spent on a team of great developers.