Neither of those things is going to be able to shatter a car window, no way. Even the most powerful .177 pellet rifles around are either going to bounce off or punch a hole. Even real guns tend to punch holes more than they do to shatter the actual window.
Why does it have to be ‘mysterious’? Glass can shatter under thermal stress - and if the window was already damaged in some way, it doesn’t seem at all implausible that, say, uneven expansion due to rapid heating or cooling might provoke a failure.
To be fair, both instances cited in that article clearly state that the gun did the shattering, not the BB.
:ducks and runs:
One of the T-top panels on my sister’s 1979 Camaro shattered in the heat. It was August, 1987 (I would know; it’s the day I got married). Anyway I guess it was the hot summer/cold winter cycle of Illinois that wore it out somehow, plus maybe some chassis flex?
That’s a college newspaper. It wouldn’t surprise me that they may have taken some liberties to “punch it up” a bit. I’ve shot at a window or two in my day with both BB guns and pellet rifles and I’ve never seen one shatter, much to my chagrin at the time.
We had a BB gun in college that would embed a bb a good quarter inch deep into plywood. I’m sure it could break car windows if the shooter were so inclined.
Sorry Q.E.D. but I’m not buying it. A BB weighs about 1/3 of a gram and moves at about 450FPS . A one or two ounce rock hitting a windshield at 80 mph imparts much more energy. A rock hit is not a 100% guaranteed busted windshield. A BB even less so.
In my case I had a fixed side window (cargo area) in a station wagon shatter one morning on the way to work. I was in a tunnel at 70 MPH when there was a large bang! I saw the window was broken, but still in place. I pulled over and examined the damage. No crater, or tiny hole, like what a a bullet leave. Window was perfect except for the fact it was shattered.
Conclusion? Bad glass tempering, causing thermal stress to shatter glass. This has also cropped in various technical journals around the world. Thermal stress fractures are not unkown.

Sorry Q.E.D. but I’m not buying it. A BB weighs about 1/3 of a gram and moves at about 450FPS . A one or two ounce rock hitting a windshield at 80 mph imparts much more energy. A rock hit is not a 100% guaranteed busted windshield. A BB even less so.
The difference here is windshield vs. window. A BB will bounce off a windshield. A BB is almost guaranteed to shatter a car window. Car windows shatter, windshields are laminated.
There was a MythBusters where they actually tested several rear view windows of an older car that were not laminated. With a hand pumped daisy BB gun they checked how many pumps it would take to shatter it (it was tangetially related to the myth, something about putting your hand on the window to stop it from breaking), and IIRC, windows shattered even from a single pump of a daisy BB gun.

The difference here is windshield vs. window. A BB will bounce off a windshield. A BB is almost guaranteed to shatter a car window. Car windows shatter, windshields are laminated.
Right, I wouldn’t expect a .177 or even a .22 BB or pellet to penetrate, let alone shatter, a windshield which is laminated. The other windows will shatter readiy, as they’re designed to, into little cubes. Firefighters and EMS types carry a little spring-loaded dealie that launches a carbide-tipped point which shatters out windws with ease, in order to free trapped occupants in car accidents. Not a lot of impact there, but it does the job.