From 外(そと) (soto) + 着(き) (ki). The ki changes to gi as an instance of rendaku (連濁).
そとぎ • (sotogi) ←そとぎ (sotogi)?