They aren't. Why do you say they are?
if they fly the same day and have layovers they can leave the secure area