Images downloaded from the web using Safari and macOS have information available from the Finder with Get Info. For example, "Where from" which can be the URL for the original image. Is that stored with the image or ?
exiftool image.jpg doesn't show the info.
The answer is in the two comments from @Gordon Davisson. Other responses were helpful also. For my purposes mdls is useful and xattr provides additional relevant information. Although I still don't quite understand where the info is stored I think it's safe to say it's not embedded in the file itself, but macOS and Windows can track the info.
To access the values for a file's Finder metadata, use the
mdlscommand in Terminal. This will list all the metadata attributes associated with the file:Whereas this will retrieve the specific attribute:
or
or
You can read more about the command on its man page