Stupid question but

Obviously I know we aren't supposed to eat raw cookie dough (technically no one should, pregnant or not, but a lot of people do) BUT my question is, why is cookie dough ice cream bad? I figured since everyone else has access to it and there's no warning label like there is on raw cookie dough that it would be fine? Sorry if this isn't worded well lol. I'm just wondering. I want cookie dough so badly!!