The incident at the graduation comes as the UAE tries to balance its diplomatic recognition of Israel with the ongoing Israel-Hamas war