Cilia are small, hair-like projections that line the fallopian tubes. They wave back and forth to help guide the egg from the ovaries to the uterus. If the cilia have been previously damaged by infection, they may not move the egg to the uterus as efficiently. This can lead to the development of an ectopic pregnancy.