Please help 6 month gets scared in sleep n cries

Sao

Anyone faced this? My lo sometimes cries so hard all of sudden in sleep as if scared of something or like had nightmare or something. It’s painful to watch. Any insights ?