This can happen if the tasks associated with the components are set to repeat, which results in the task date differing from the component's completion date.
To resolve this, remove the recurring tasks from the components. Please note this can only be done using the Classic user interface. Click the 'Edit' button for the component task.
Set the Repeat option to 'Never' and click 'Update'.