GPS continues to work because it’s being broadcast by a satellite, not a cell tower.
GPS is one direction only (from the satellites to the device).