For example, a human happening to stray close to a young orca might be confused as a threat to it, which could trigger an attack by a parent. Yet, despite there being lots of orcas in the ocean, no violent altercation between a wild orca and a human has led to a human death.
That this hasn't happened even once is remarkable, especially given the massive size and strength of orca. Other large mammals often kill humans, and not just as food, for example, hippos.
I don't think we know exactly why orcas have never killed humans, but I would guess their intelligence has something to do with it.