Yes, your observation is correct and everything works fine. Even if settings are identitcal, the file hashes will always be different.
The reason is quite simple: XMP metadata which is embedded in the files.
Such metadata entries which are often different are:
time stamps (not only the date but the time too)