there is a sensor in the passenger seat that that will turn the airbag off if a certain weight is detected (approximately the weight of a small child). If there is no one in the seat or it detects the weight exceeds the weight of a small child it will blow.
edit: this is just for the front airbags, i have no idea about the side curtains.
also, maybe SOMEHOW the sensor survived the impact?