
The mother can only contributes one X chromosome to the sex of the baby while the father may contribute either an X or Y chromosome.
When the father contributes Y chromosome, the offspring has the chromosome set of XY which means the baby born is a boy.