The primary cause of GBS in pregnancy is the colonization of the bacteria in the mother's genital tract. It can be passed to the baby during childbirth, leading to potential health complications such as sepsis, pneumonia, or meningitis.