In aluminium alloys containing magnesium, magnesium oxides (MgO), cuboids (MgAlO-cuboid) and metallurgical spinel (MgAlO-spinel) can form. They result from the reaction between magnesium and oxygen in the melt. More of them will form with time and temperature.
Spinel can be highly detrimental because of its big size and high hardness.