They make the parents forget moves when the parents would reach a level at which they would learn a new move.
The move forgotten is the top-most move in your moveset, and the new move which the parent would learn at that certain level is now the last in the moveset.