A Wild Magic Surge may happen when a Wild Magic sorcerer (PHB, p. 103-104) casts a sorcerer spell of 1st level or higher:
Once per turn, the DM can have you roll a d20 immediately after you cast a sorcerer spell of 1st level or higher. If you roll a 1, roll on the Wild Magic Surge table to create a magical effect.
Some magic items let you cast spells that are on the sorcerer spell list. For example, the Staff of the Magi lets you cast enlarge/reduce, which is a sorcerer spell.
Would casting a spell on the sorcerer spell list from a magic item have the potential of causing a Wild Magic Surge (for a Wild Magic sorcerer) ?