twin + tail. The "pigtail" sense is a calque of Japanese ツインテール (tsuintēru).
twintail (plural twintails)