From the office of
Easy way to remember
Ex = from
Officio = Office / Official Position
This is the right or privilege that a person has, due to the virtue of him being in another position of power.
The Principal of a school is the Ex-Officio President of the Parent Teachers Association. i.e. he is the president only by virtue of him being the Principal.