An apartment building explosion Monday that rocked a westside Detroit community and injured a dozen people, including children, was caused by a gas leak, the Detroit Fire Department has concluded.