The example of higher ice cream sales being "linked" to higher crime rates is used in introductory data science / introductory psychology as an example of how an apparent correlation doesn't necessarily mean there is a meaningful link. A possible third variable which might affect both is the weather.