Yes, well, that and by aerobraking in the atmosphere where all that potential energy the capsule gained during launch has to be shed. There's plenty of reentry videos from Starship tests which show what happens to vehicle parts which are less protected by heat shields.