People who derailed in 5th grade are probably unlikely to get back on track because education in the higher classes stands on the shoulders of the previous classes.
If it not a causation, this may also mean that "non motivated students" never care about math. Either in 5th grade or in high school or later.
Or maybe it is a combination of both. The article only shows correlation. But how can one study causation without destroying the futures of students?