Sounds like the tire/tube weren't seated quite right, and as you inflated, the tube popped the bead of the tire over the rim and it blew out. I've done it a few times, most recently while trying to change a flat on my girlfriend's father's old road bike that does NOT have hook-type rims.