The sugar provides sweetness and makes a glossy sauce, two things that are expected in a good teriyaki. The Japanese word “teri” means “shine,” a reference to the luster of the sauce due to the sugar. (FYI, the “yaki” part of teriyaki means “grilled” in Japanese, a cooking method often used in teriyaki dishes.)