The latter in a whole lot of cases. They took the page down, but the last time I checked "pregnancy" made up almost 40% of covid hospitalizations -- meaning the women were in the hospital for something else but happened to test positive.
Here's an archived page with the data still up:
web.archive.org/web/202…