They probably want to ascertain how she got into the US. I think a lot of these cross-border movements of people by the FLDS are of the sneaking across the border variety, not the presenting ID at a border crossing variety. Even if they let the girl go back to Canada (which I expect they will if the Canadian consul requests it), they still need to gather evidence about the cult leaders’ methods of transporting people across national borders.