Then this might need more sleuthing.
So check what should be the correct datetime and location and what does this command say about them for the offending image(s):
exiftool -a -G1 -s -n -fileOrder5 FileName -api QuickTimeUTC=1 -api RequestTags=FileCreateDate -Time:All -Location:All 2025-0703-1017-29.heic
The output for that is something like:
[MacOS] FileCreateDate : 2025:07:03 10:17:29+03:00
[System] FileModifyDate : 2025:07:03 10:17:29+03:00
[IFD0] ModifyDate : 2025:07:03 10:17:29
[ExifIFD] DateTimeOriginal : 2025:07:03 10:17:29
[ExifIFD] CreateDate : 2025:07:03 10:17:29
[ExifIFD] OffsetTime : +03:00
[ExifIFD] OffsetTimeOriginal : +03:00
[ExifIFD] OffsetTimeDigitized : +03:00
[GPS] GPSDateStamp : 2025:07:03
[GPS] GPSLatitudeRef : N
[GPS] GPSLatitude : 29.9792
[GPS] GPSLongitudeRef : E
[GPS] GPSLongitude : 31.1342
https://exiftool.org/
If you are new to Terminal, then try to do that on some less capable and clumsy online tools that give more info than you need for this task:
https://exif.tools
https://jimpl.com
https://exiftool.lucasgelfond.online/