If you notice that the garlic is browning too quickly or starting to burn, you can remove it from the oven earlier than the carrots. Burnt garlic can taste bitter, so keeping an eye on it is essential for achieving the best flavor.