konrad_k suggested my problem: https://forum.inaturalist.org/t/date-listed-in-metadata-does-not-match-date-listed-in-info-on-mac-photos/36267 may be the same. I am not savvy enough to understand this discussion, but my problem might be similar, although I am not using a phone but a Mac laptop.