If you fetch your image via takeout or via the API, the image bytes are the same, but the EXIF headers have been changed.
I've tried in both a standard Gmail account and a custom domain. Same behavior.
Are you saying your file SHA is the same from your device and your takeout?
I wonder if I am seeing US-account-exclusive behavior?
Same for the .heic files on my iPhone, too.