You found a really weird bug but not really a bug, status-bydesign thing. It appears that the first version of the question was removed due to security reasons, the user included their password, so the initial version with the title was deleted making the title not available when you edited it.
Before anyone calls shenanigans, this no longer happens if a user accidentally posts sensitive details. We now have the ability to redact the history of a post, essentially making so these details never existed. It's a bit safer than just removing a version from the database.