This is what happens to spacecraft when they re-enter the Earth’s atmosphere

When one of the Russian Progress resupply ships undocks from the International Space Station, timing is everything. The Progress needs to fire its engines at just the right time to instigate the deorbit burn in order for the ship to enter the atmosphere at just the right place so that its destructive re-entry occurs over the Pacific Ocean. That way, any potential surviving bits and pieces that might reach Earth will hit far away from any land masses—which are home to people, buildings, and other things we don’t want to get bonked.

Source:
https://phys.org/news/2021-02-spacecraft-re-enter-earth-atmosphere.html