aws s3 sync --delete removed some new files.
aws s3 sync --delete
For example:
There is a file in the bucket - S3://my-bucket/images/1.jpg
S3://my-bucket/images/1.jpg
Then
--delete option to remove files or objects from the target not present in the source.