WD interview question

Why we use nMOS as pull down and pMOS as pull up?