Arch- , Archi-

Why archangel is written with arch- and archiatrus and architect with archi-? Thanks in advance!