Like the other answers note, what happened here was almost certainly an edit conflict. Specifically, from the timeline of that question, we can reconstruct the following likely sequence of events:
- 13:23:53 UTC: The OP posts the question.
- Some time within the following two minutes: Both you and another user (whom I'll call User X here, because their identity is really not relevant) find the question, decide that it needs editing and click the edit button.
- 13:26:11 UTC (= 2 minutes and 18 seconds after the question was asked): User X submits their edit suggestion, while you're still editing.
- 13:26:46 UTC (= 35 seconds later): User X's edit suggestion is approved by the OP, while you're still editing.
- 13:30:36 UTC (= 3 minutes and 50 seconds later): You submit your own edit suggestion, which naturally does not include the changes made by User X.
- 13:33:00 UTC (= 2 minutes and 24 seconds later): Your edit suggestion is approved by the OP, effectively undoing User X's edit and replacing it with your version.
At this point, there are three versions of the question stored in the database, in this order:
- the OP's original version,
- the version edited by User X, and
- the version independently edited by you.
Since the revision history just shows the difference between consecutive versions, the resulting history view looks the same as if you'd deliberately undone User X's edits before making your own. But to anyone familiar with how the revision history works, the timestamps and the content of the edits make it pretty clear what actually happened.
Now, the natural followup question is whether this should have been possible.
Arguably, it shouldn't, and it would be technically quite easy to prevent this: just have the software record the timestamp and/or the internal ID of the version being edited in a hidden field on the edit form, and have it check that it's still the latest version when the edit is submitted. If it's not, show both versions to the editor and tell them to merge them by hand (or even offer some kind of an automatic merge option, like you get when merging changes in git / hg / svn / whatever). But unfortunately, the Stack Exchange software does not yet include such a feature.
It does, however, provide several other features that try to reduce the likelihood of such edit conflicts. In particular, I believe you should have seen a notice pop up above the edit box when User X's edit was accepted, stating that the question has been edited by someone else. Of course, there are several possible reasons (like spotty Internet connectivity) why that might not have worked as intended, or you might have simply missed the notification.
Also, if you had tried to start editing, or to submit your edit, after User X had submitted their edit suggestion but before it was approved, then I believe that you would have received an error saying that a post can only have one pending edit suggestion at a time. Of course, in this case, the time window between User X's edit being submitted and it being approved was only 35 seconds, so it all came and went while you were still happily making your own edits.
In any case, if you notice something like this happening, the best way to handle it is simply to look at both edited versions, see if there's a way to combine the best parts of each into something that's even better, and then submit that as an edit with a comment like "merging mine and User X's simultaneous edits to resolve edit conflict". Besides improving the post, that should also serve to clarify the situation for anyone looking at the revision history later.