Confounding factors can affect study results by introducing systematic error. This occurs when the confounder is related to both the exposure and the outcome but is not evenly distributed among the study groups. As a result, the observed association may be due to the confounder rather than the exposure of interest.