All of the responses provided explain how a complex character can drive a story's plot effectively. However, if you are looking for the most direct answer to how a complex character specifically influences the plot, the response that stands out is:
They usually cause conflict and give the story depth.
This response captures the essence of how complex characters often create challenges that propel the narrative forward and add layers to the story.