As the article points out, "Hasan Ali" is a stupendously common Muslim name.
Imagine blocking anyone called "John Williams" and then claiming you were blocking terrorists, not just people with English-sounding names.
It turns out that in practice (and law), companies are held responsible for grossly discriminatory effects of their actions, without a detailed process of examining motivations at the time.