When you wash your hair with shampoo, it makes your scalp want to produce more sebum (oil). If you're washing your hair often, more than required, then your scalp will go into overdrive and produce excess oil, leading to an oily scalp. Another reason for the oily scalp is pregnancy, when many mothers experience hormonal changes in their bodies, including hair.