Help?

This may be a silly question, but when I went for my ultrasound the Sonographer was pressing the ultrasound tool up and down to make my baby move. Will this cause any harm? I'm a new mom and I felt very protective!!