What repairing actually means here
The PDF is parsed and written out again as a clean new file, which rebuilds its internal structure.
A PDF keeps an index of where everything in the file lives. When that index becomes inconsistent — a truncated download, a crash during save, a program that wrote the file badly — a reader may refuse to open a document whose content is perfectly intact. Reading it and writing a fresh copy regenerates that index correctly, which is why this fixes a surprising number of files that looked lost.