>In fact it talks about her "tourist visa" (which allows up to 6 months).
No, if you read the article carefully it never stated that she had a tourist visa at all. Only that she was told "she should have applied for a working visa, instead of a tourist visa". That's not the same as her possessing a tourist visa. Moreover a "tourist visa" (of 6 months) isn't something you can apply for at the border. If she just showed up at the border, then by all likelihood she's getting in via the Visa Waiver Program, which has a 90 day limit.
So it sounds like what happened was that she drove across the US border from Canada, tried getting in using the Visa Waiver Program, the border guards grilled her, she cracked under pressure (ie. admitted she was going to do stuff inconsistent with the Visa Waiver Program), and they tried to deport her back to Canada. However, Canada doesn't want to take her back so she's stuck in limbo.
I think she drove (or walked, mode of transportation is unspecified) across the border into Canada, was told her visa was inadequate for her planned activity and to return to the US to apply for a proper visa, when she did return to the US, she was detained.
The article is confusing though. This BBC article has a much clearer and more detailed timeline of her travels.