It looks like the temporary attachments (that are bound to the document and the user session) are deleted on the first save.
I can confirm that from the code, and they are also deleted when editing is cancelled using the cancel action (not used by editable properties, but it should be reproducible with your steps when pressing cancel instead of save in the second tab).
This message was sent by Atlassian Jira (v9.3.0#930000-sha1:287aeb6)
If image attachments aren't displayed, see this article.