During her pregnancy, Milena Mrosovsky estimates she underwent a dozen fetal ultrasounds. “I was just happy to get my pictures,” she says of the scan images, “and keep them in my little album.”

Her experience isn’t uncommon. American women have been getting fetal ultrasound scans at sharply higher rates than before, and parents have turned the images of their unborn into fixtures of social media.

In...