The tree is jujube. The confusion is real and it has a cause: the boiled sweet named after the fruit is usually said JOO-joo-bee, with the final e sounded, while the fruit itself is normally JOO-joob, with the e silent. Two pronunciations, one spelling, and the ee rendering belongs to the sweet rather than to the tree.