Adding vinegar to the steaming water helps prevent the buns from turning yellow during steaming, ensuring they maintain an appealing appearance.