I don’t think middle management are the ONLY cause, but I do agree that once you start getting layers of management, managers “shielding their teams” from the rest of the company, cross-team dependencies that require lots of planning, and execs/upper-management that are very disconnected from the details of the business and product, you’re basically doomed to mediocrity-at-best.