Great question—and this cuts right into the true nature of weightlessness.
Katy Perry and the NS-31 crew experienced real zero-G, but not because they left Earth’s gravity—they didn’t. Gravity is still very strong at 107 km altitude (about 97% as strong as on the surface).
So why were they floating?