Another reason for amniocentesis is to check for infections in the uterus and amniotic fluid. Sometimes the doctor is concerned about these types of infections in pregnant women.