This invisible barrier is called the glass ceiling. There are multiple factors that enable such a thing, including (but not limited to) prejudices against women in the work place, lack of recruitment of women to certain types of jobs that are historically performed by men (i.e. science, engineering, etc), and lack of mentoring on the job.