Had the same thing happen in my old one room apartment, ten feet from my bed, in the middle of the night. I was pretty sure that someone had fired a gun in the hallway, and almost called the police.
It was the middle of winter and I'd topped the tire off at a gas station on the way home. Inside the apartment was some 50 degrees warmer than outside, and the tube couldn't withstand the change in pressure. Plus the tire was old and worn; the sidewall went with the tube.
Scary as hell to have it blow while I was sleeping, but at least it didn't happen while I was cooking; I might've lopped a finger off or something.