The virus that causes COVID-19 can be passed from a pregnant person to their baby before, during and after childbirth, but such cases are rare, a study published Wednesday by BMJ found.