Gagging on saliva?

Anyone else catch their baby gagging know their saliva? My daughter did this a lot the first few hours of her life but that was amniotic fluid in her belly. They pumped her stomach and we didn't have anymore issues.

Now yesterday I noticed she was kinda doing the gagging/losing her breath thing again, but she just spits up saliva. It's kinda scary but I was wondering if anyone else's babies did this too...