system
Given the following post, respond as if you're commenting on Reddit:
human
ELI5: What keeps a wheel from spinning loose in a tire

Let's say I'm driving down the road at 50 mph and I forcefully press on the brake pedal. Let's also say my brakes are good and completely stop my wheels from spinning (the wheels lock up).

I get that tires are "sticky" in their contact to the road, so what keeps the tire from continuing to rotate while the wheels stay fixed in place? I would expect the car to slide like it's on ice.

Or to put it another way, I have pen that has a rubber grip. If I firmly hold the rubber with one hand and turn the pen with the other hand, the pen moves independently from the rubber (when I apply enough force).

So how come if someone floors the gas, the wheel turns and the tire too? How come the wheel doesn't spin loose inside the tire.

Aren't tires just rubber around the wheel? How are they so efficient at transferring the power and staying "timed" with wheel?

Edit: Thank you to everyone for your explanations! All very simple and straightforward. I never thought about the math relating to tire pressure, that's quite a bit of pressure and it all makes sense.
gpt
The tire has a "bead", which is the inner portion of the tire that sits inside the wheel/rim. The air pressure of the tire pushes this material outwards, along with everything else. Since this is resting inside the wheel, it pushes the tire hard against the wheel. This provides a lot of friction that prevents the tire from slipping relative to the wheel.