Logical fallacy
Retrospective determinism
Treats an outcome as inevitable under the circumstances simply because it actually happened. Observing which possibility materialized does not establish that the alternatives were impossible.
Examples
The shop eventually closed. Given its circumstances, that proves there was no possible way it could have stayed open.
Our team won that close final. From the moment the match began, no other result was possible.
A similar case that can be sound
At the final whistle the recorded score meant the home side had won under the competition’s rules.