A crusty BBQ bark on ribs and other smoked meats is a combination of the rub, sauce and smoke from the smoker, combined with meat proteins.  It’s a crisp, seasoned layer of flavor that is, essentially, caramelized due to meat being smoked at a low temperature.