Heartbeat with ultrasound

Alicia

Sometimes when I get an ultrasound done the heartbeat is loud and clear and then all of a sudden it will go away. The tech will move the probe to a different spot and we will find it but why does that happen? Is it bc I move or the baby moves? Or another reason?