In a test world where I was testing mob pathfinding I discovered that when a spider is able to hit you, and you switch to creative, the spider is still aggro on you.
I can see the logic in the game there, but when you move out of his range and then return to the spider, it will aggro you even when you are in creative.
That's a bit odd imo.
Duplicate of MC-2638