How might pregnancy immunize against breast cancer?

How might pregnancy immunize against breast cancer?