Because of the mental focus and precise gestures required for spellcasting, you must be proficient with the armour that you are wearing to cast a spell. You are otherwise too distracted and physically hampered by your armor for spellcasting.