This is SOP in Frankfurt since many years. They are randomly profiling and pre-filtering passengers and this is NOT limited to flights from South America. Also happens on flights coming from Schengen countries (normally no passport control required) e.g. Greece. If there are doubts about the legal status of a traveller, they get taken in to the police station at the airport for further processing. So what?