Syphilis is a sexually transmitted infection caused by a bacterium called "Treponema pallidum". Syphilis is usually spread by sexual contact. However, a fetus can get syphilis from its mother while she is pregnant or during childbirth. This is called "congenital syphilis".