a primary problem is that the regulations are deliberately vague, and individual officers are given full rein to decide how to apply them.
I used to regularly fly from the UK to teach four day classes with no problem, but as soon as I moved to Canada I had to allow time for an hour's interrogation by US immigration in Toronto airport where I had to detail my entire business operations. Twice I was turned back, and had to hire a lawyer who met me at the border in Buffalo. There, the border supervisor agreed that teaching "alien technology" was perfectly legal.
The last time I was turned back in Toronto, the officer screamed at me that if I attempted to cross via bridge again, I would be arrested, jailed, and my car would be forfeit.
I went to Buffalo again. The supervisor had everything struck off of my record and added something. I didn't know what it was, but when I went to the US consulate for a visa, the clerk raised their eyebrows and said "wow, you have a friend in Buffalo!"
It was harrowing, but I was stubborn (and orbital levels of reckless), also male, white, and able to afford a lawyer. I wouldn't wish this process on anyone.