I encountered a question where the type of bonding for various oxides are prompted. Two of which are $\ce{Al2Cl6}$ and $\ce{Al2O3}$.
I thought that chlorine atoms are more electronegative than oxygen atoms, so if one of them is ionic and the other is covalent, surely chlorine would be ionic, because it may be able to "tear off" the electrons from aluminium atoms.
This is evidently not the case according to the answer key of this question. I would like to know an explanation for the ionic/covalent properties of these bonds.