In fairness, this person was working on a tourist visa (likely an ESTA). The only reason she was placed in US detention is because she tried to enter Canada from the US and was refused entry by Canada.
I don't support the nonsense Trump's administration is doing, but this appears to be entirely unrelated. ESTAs (eTAs for Canada) explicitly prohibit you from working.
She was refused entry to Canada.