If you compare https://www.populationpyramid.net/china/1980/ with https://www.populationpyramid.net/china/2020/, you see how drastic its effect on China’s population pyramid was. Drastically fewer kids means fewer parents 20-30 years later.
(There also is a bit of an effect of richer people having fewer children, but for China, that effect is relatively small)