Or maybe, during installation, the tube was was pinched between the tyre bead and rim, causing the puncture. The puncture would be sealed by the pressure of the rim and tyre bead, until the tube slipped out from under the bead, at which point it would quickly deflate.
.