Ultrasound is not ionising as it is a longitudinal wave whilst X-rays are ionising as they are transverse waves and have very high frequency hence can 'knock' electrons out of their orbit. Doing this can cause mutations in the cells of the baby and potentially cause cancer.