Apartment building explodes during a fire