Important piece of marine science nuance: when a shark attacks a human, it's almost always an unintentional encounter. Sharks do not think about you, at all.
When a whale strikes a ship, it is almost always intentional. They know us. They understand us. And they remember what we did.