Many BBQ sauces contain sugar, honey, or another sweetener, and sugars quickly burn in the oven or on a grill. Kitchn suggests basting ribs with sauce about 10-15 minutes before they're done; meanwhile, Amazing Ribs says you can sauce ribs up to 30 minutes before they're done, if you're cooking them over indirect heat.