Sometimes kids don't absorb knowledge in the time allotted. Other times, they get stuck on concepts that they just don't readily grasp. Language barriers occasionally make these problems more common or worse

Time passes, and the  knowledge and concepts become prerequisites. Learning slows and the problems show up in test results. The school district needs to provide remedial resources, generally tutoring, sometimes extra books and study guides, to help the kids recover and catch up. If the kids don't get the needed assistance, they get even further behind, and need even more assistance.

Within the adult economy, when the economy slows, the best- and adequately- qualified maintain employment but the marginally qualified get pushed out of the labor force. People who are willing to work, who want to work, can't get jobs and find themselves functionally disabled. They apply for help, and the only help available is social security disability, for which many of them qualify based on a documentable barrier to employment. People who would prefer to overcome their disabilities end up leaving the workforce. Others take early retirement, leaving the workforce despite the reduction in their future incomes.

A similar thing happens with kids. They get behind, frustrated, and lose interest, becoming bored and disruptive. They get evaluated and are found to have one or more conditions that qualify them for special education and additional resources.

So kids get behind, then further behind, and need special education. The school district redirects teaching resources from the students and schools that are successful to support those kids who are struggling. More of the previously successful students begin to have problems and start to need remedial help.

In the extreme, as the district takes money away from the best students to support the average and failing students, the best students end up having to google their own educations. That's the academic doom loop.